From: Jacob Thornton Returns a modals modal class instance. Returns an elements modal class instance. Notice Alternatively, this can be retrieved with Bootstrap's modal class exposes a few events for hooking into modal functionality. The include:$('#my-modal').modal('hide')
.modal(true)
- $('#my-modal').modal('hide')
+ $('#my-modal').modal(true)
$().data('modal').Events
Attaches a twipsy handler to an element collection.
-You can manually control twipsies by firing events on the controlling element.
-Reveals an elements twipsy.
-$('#element').trigger('twipsy:show')
- $('#element').twipsy('show')
+ Hides an elements twipsy.
-$('#element').trigger('twipsy:hide')
+ $('#element').twipsy('hide')
+ Returns an elements twipsy class instance.
+$('#element').twipsy(true)
+ Notice Alternatively, this can be retrieved with $().data('twipsy').
Tight pants next level keffiyeh you probably haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown. Farm-to-table seitan, mcsweeney's fixie sustainable quinoa 8-bit american apparel have a terry richardson vinyl chambray. Beard stumptown, cardigans banh mi lomo thundercats. Tofu biodiesel williamsburg marfa, four loko mcsweeney's cleanse vegan chambray. A really ironic artisan whatever keytar, scenester farm-to-table banksy Austin twitter handle freegan cred raw denim single-origin coffee viral. @@ -515,32 +523,95 @@ Sunt qui biodiesel mollit officia, fanny pack put a bird on it thundercats seita
$('#example').popover(options)
boolean) - apply a css fade transition to the popover.number) - delay before showing tooltip (ms).number) - delay before hiding tooltip (ms).string) - fallback text to use when no tooltip text.string) - position of tooltip - above | below | left | right.boolean) - is tooltip content HTML?boolean) - use live event support?number) - pixel offset of tooltip from element.string|function) - text for title in popover. Alternatively you can specify a data-title attribute.string|function) - text for content in popover. Also you can specify a data-content attibute.string) - how tooltip is triggered - hover | focus | manual.| Name | +type | +default | +description | +
|---|---|---|---|
| animate | +boolean | +true | +apply a css fade transition to the tooltip | +
| delayIn | +number | +0 | +delay before showing tooltip (ms) | +
| delayOut | +number | +0 | +delay before hiding tooltip (ms) | +
| fallback | +string | +'' | +text to use when no tooltip title is present | +
| placement | +string | +'right' | +how to position the tooltip - above | below | left | right | +
| html | +boolean | +false | +allows html content within tooltip | +
| live | +boolean | +false | +use event delegation instead of individual event handlers | +
| offset | +number | +0 | +pixel offset of tooltip from target element | +
| title | +string | function | +'title' | +attribute or method for retrieving title text | +
| content | +string | function | +'data-content' | +attribute or method for retrieving content text | +
| trigger | +string | +'hover' | +how tooltip is triggered - hover | focus | manual | +
Initializes popovers for an element collection.
-You can manually control popovers by firing events on the controlling element.
-Reveals an elements popover.
-$('#element').trigger('popover:show')
- $('#element').popover('show')
+ Hides an elements popover.
-$('#element').trigger('popover:hide')
+ $('#element').popover('hide')