2
0
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:
Steven Black
2015-02-25 04:00:37 +02:00
committed by XhmikosR
parent 420a8088a4
commit 457885075f
11 changed files with 40 additions and 33 deletions
+6 -6
View File
@@ -195,7 +195,7 @@ $('.carousel').carousel()
<h3 id="carousel-methods">Methods</h3>
<h4>.carousel(options)</h4>
<h4><code>.carousel(options)</code></h4>
<p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p>
{% highlight js %}
$('.carousel').carousel({
@@ -203,20 +203,20 @@ $('.carousel').carousel({
})
{% endhighlight %}
<h4>.carousel('cycle')</h4>
<h4><code>.carousel('cycle')</code></h4>
<p>Cycles through the carousel items from left to right.</p>
<h4>.carousel('pause')</h4>
<h4><code>.carousel('pause')</code></h4>
<p>Stops the carousel from cycling through items.</p>
<h4>.carousel(number)</h4>
<h4><code>.carousel(number)</code></h4>
<p>Cycles the carousel to a particular frame (0 based, similar to an array).</p>
<h4>.carousel('prev')</h4>
<h4><code>.carousel('prev')</code></h4>
<p>Cycles to the previous item.</p>
<h4>.carousel('next')</h4>
<h4><code>.carousel('next')</code></h4>
<p>Cycles to the next item.</p>
<h3 id="carousel-events">Events</h3>