### Methods
-#### .carousel(options)
+#### `.carousel(options)`
Initializes the carousel with an optional options `object` and starts cycling through items.
})
{% 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.
### Methods
-#### .collapse(options)
+#### `.collapse(options)`
Activates your content as a collapsible element. Accepts an optional options `object`.
})
{% endhighlight %}
-#### .collapse('toggle')
+#### `.collapse('toggle')`
Toggles a collapsible element to shown or hidden.
-#### .collapse('show')
+#### `.collapse('show')`
Shows a collapsible element.
-#### .collapse('hide')
+#### `.collapse('hide')`
Hides a collapsible element.
### Methods
-#### .modal(options)
+#### `.modal(options)`
Activates your content as a modal. Accepts an optional options `object`.
})
{% endhighlight %}
-#### .modal('toggle')
+#### `.modal('toggle')`
Manually toggles a modal. **Returns to the caller before the modal has actually been shown or hidden** (i.e. before the `shown.bs.modal` or `hidden.bs.modal` event occurs).
{% highlight js %}$('#myModal').modal('toggle'){% endhighlight %}
-#### .modal('show')
+#### `.modal('show')`
Manually opens a modal. **Returns to the caller before the modal has actually been shown** (i.e. before the `shown.bs.modal` event occurs).
{% highlight js %}$('#myModal').modal('show'){% endhighlight %}
-#### .modal('hide')
+#### `.modal('hide')`
Manually hides a modal. **Returns to the caller before the modal has actually been hidden** (i.e. before the `hidden.bs.modal` event occurs).
### Methods
-#### $().popover(options)
+#### `$().popover(options)`
Initializes popovers for an element collection.
-#### .popover('show')
+#### `.popover('show')`
Reveals an element's popover. **Returns to the caller before the popover has actually been shown** (i.e. before the `shown.bs.popover` event occurs). This is considered a "manual" triggering of the popover. Popovers whose both title and content are zero-length are never displayed.
{% highlight js %}$('#element').popover('show'){% endhighlight %}
-#### .popover('hide')
+#### `.popover('hide')`
Hides an element's popover. **Returns to the caller before the popover has actually been hidden** (i.e. before the `hidden.bs.popover` event occurs). This is considered a "manual" triggering of the popover.
{% highlight js %}$('#element').popover('hide'){% endhighlight %}
-#### .popover('toggle')
+#### `.popover('toggle')`
Toggles an element's popover. **Returns to the caller before the popover has actually been shown or hidden** (i.e. before the `shown.bs.popover` or `hidden.bs.popover` event occurs). This is considered a "manual" triggering of the popover.
{% highlight js %}$('#element').popover('toggle'){% endhighlight %}
-#### .popover('dispose')
+#### `.popover('dispose')`
Hides and destroys an element's popover. Popvoers that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.
### Methods
-#### .scrollspy('refresh')
+#### `.scrollspy('refresh')`
When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:
### Methods
-#### $().tooltip(options)
+#### `$().tooltip(options)`
Attaches a tooltip handler to an element collection.
-#### .tooltip('show')
+#### `.tooltip('show')`
Reveals an element's tooltip. **Returns to the caller before the tooltip has actually been shown** (i.e. before the `shown.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip. Tooltips with zero-length titles are never displayed.
{% highlight js %}$('#element').tooltip('show'){% endhighlight %}
-#### .tooltip('hide')
+#### `.tooltip('hide')`
Hides an element's tooltip. **Returns to the caller before the tooltip has actually been hidden** (i.e. before the `hidden.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip.
{% highlight js %}$('#element').tooltip('hide'){% endhighlight %}
-#### .tooltip('toggle')
+#### `.tooltip('toggle')`
Toggles an element's tooltip. **Returns to the caller before the tooltip has actually been shown or hidden** (i.e. before the `shown.bs.tooltip` or `hidden.bs.tooltip` event occurs). This is considered a "manual" triggering of the tooltip.
{% highlight js %}$('#element').tooltip('toggle'){% endhighlight %}
-#### .tooltip('dispose')
+#### `.tooltip('dispose')`
Hides and destroys an element's tooltip. Tooltips that use delegation (which are created using [the `selector` option](#options)) cannot be individually destroyed on descendant trigger elements.