2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

Use backticks/<code> for JS snippets in docs headings; closes #17192

[skip sauce]
This commit is contained in:
Chris Rebert
2015-09-28 12:24:37 -07:00
parent fabba295c3
commit a9f24fc59f
6 changed files with 25 additions and 25 deletions
+6 -6
View File
@@ -180,7 +180,7 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap
### Methods
#### .carousel(options)
#### `.carousel(options)`
Initializes the carousel with an optional options `object` and starts cycling through items.
@@ -190,23 +190,23 @@ $('.carousel').carousel({
})
{% endhighlight %}
#### .carousel('cycle')
#### `.carousel('cycle')`
Cycles through the carousel items from left to right.
#### .carousel('pause')
#### `.carousel('pause')`
Stops the carousel from cycling through items.
#### .carousel(number)
#### `.carousel(number)`
Cycles the carousel to a particular frame (0 based, similar to an array).
#### .carousel('prev')
#### `.carousel('prev')`
Cycles to the previous item.
#### .carousel('next')
#### `.carousel('next')`
Cycles to the next item.