aboutsummaryrefslogtreecommitdiff
path: root/docs/components/carousel.md
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-09-28 12:30:03 -0700
committerChris Rebert <[email protected]>2015-09-28 12:30:03 -0700
commit215d4c19f74b71c4e960d9797e902803ad0ffe09 (patch)
tree3e3839772bfc3dc85d87ffdd36caf249a6bec1d3 /docs/components/carousel.md
parentfabba295c32fc9aef11964ffe81fd920d4d5ee9c (diff)
parenta9f24fc59f09cf77125833be10769e7c04f813a2 (diff)
downloadbootstrap-215d4c19f74b71c4e960d9797e902803ad0ffe09.tar.xz
bootstrap-215d4c19f74b71c4e960d9797e902803ad0ffe09.zip
Merge pull request #17725 from twbs/curly-quotes
Use backticks/<code> for JS snippets in docs headings
Diffstat (limited to 'docs/components/carousel.md')
-rw-r--r--docs/components/carousel.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/components/carousel.md b/docs/components/carousel.md
index 79658eb6e..e419846c6 100644
--- a/docs/components/carousel.md
+++ b/docs/components/carousel.md
@@ -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.