mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-05-30 15:24:08 +03:00
Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
This commit is contained in:
@@ -94,7 +94,7 @@ $('body').scrollspy({ target: '#navbar-example' })
|
||||
|
||||
|
||||
<h3 id="scrollspy-methods">Methods</h3>
|
||||
<h4>.scrollspy('refresh')</h4>
|
||||
<h4><code>.scrollspy('refresh')</code></h4>
|
||||
<p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p>
|
||||
{% highlight js %}
|
||||
$('[data-spy="scroll"]').each(function () {
|
||||
|
||||
Reference in New Issue
Block a user