From a9f24fc59f09cf77125833be10769e7c04f813a2 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 28 Sep 2015 12:24:37 -0700 Subject: Use backticks/ for JS snippets in docs headings; closes #17192 [skip sauce] --- docs/components/carousel.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/components/carousel.md') 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. -- cgit v1.2.3