diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js index 57d20b3f86..614b0e3456 100644 --- a/docs/assets/js/application.js +++ b/docs/assets/js/application.js @@ -51,7 +51,7 @@ $(document).ready(function(){ , trigger: 'manual' , offset: 2 }) - .trigger('twipsy:show') + .twipsy('show') }) }) }); diff --git a/docs/index.html b/docs/index.html index ccd972b090..29ffa80bdd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1331,7 +1331,7 @@
$('#my-modal').modal('hide')
Returns a modals modal class instance.
-$('#my-modal').modal('hide')+
Returns an elements modal class instance.
+$('#my-modal').modal(true)
Notice Alternatively, this can be retrieved with $().data('modal')
.
Bootstrap's modal class exposes a few events for hooking into modal functionality. The include:
@@ -357,7 +357,13 @@ $('#my-modal').bind('hidden', function () { <div id="profile">...</div> <div id="messages">...</div> <div id="settings">...</div> -</ul> +</ul> + +<script> + $(function () { + $('.tabs').tabs() + }) +</script>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')