Tooltips Examples for showing pagination to indicate a series of related content exists across multiple pages.
Tooltip basics
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.
Tooltip Placement
How to position the tooltip - auto | top | bottom | left | right. When auto
is specified, it will dynamically reorient the tooltip.
When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The this
context is set to the tooltip instance.
Tooltip animation
data-animation="false"
Tooltip Container
Delayed Tooltip
delay: { "show": 500, "hide": 100 }
Adding dynamic objects
Toggle the checkbox below and click the 'add new tooltip' button to observe the behavioral differences between using the selector option, and not using it.
$('body').tooltip({ selector: '.has-tooltip' });
$('.has-tooltip').tooltip();
Tooltip Templating
.tooltip-inner
. The outermost wrapper element should have the .tooltip
class and role="tooltip"
Backgrounds
Sizing
Tooltip Triggers
How tooltip is triggered - click | hover | focus | manual. You may pass multiple triggers; separate them with a space.
'manual'
indicates that the tooltip will be triggered programmatically via the .tooltip('show')
, .tooltip('hide')
and .tooltip('toggle')
methods; this value cannot be combined with any other trigger.
'hover'
on its own will result in tooltips that cannot be triggered via the keyboard, and should only be used if alternative methods for conveying the same information for keyboard users is present.