Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Default: "<br />
present.<br />
trigger<br />
string<br />
Default: 'hover<br />
focus'<br />
data-trigger<br />
Defines how the popover is triggered: click| hover | focus |<br />
manual. You may pass multiple triggers; separate them with a<br />
space.<br />
delay<br />
number | object<br />
Default: 0<br />
data-delay<br />
Delays showing and hiding the popover in ms — does not apply to<br />
manual trigger type. If a number is supplied, delay is applied to<br />
both hide/show. Object structure is:<br />
delay:<br />
{ show: 500, hide: 100 }<br />
container<br />
Methods<br />
string | false<br />
Default: false<br />
datacontainer<br />
The following are some useful methods for popover:<br />
Appends the popover to a specific element.<br />
Example: container: 'body'<br />
Method Description Example<br />
Options:.popover(options)<br />
Attaches a popover handler to an<br />
element collection.<br />
$().popover(options)<br />
Toggle:.popover('toggle') Toggles an element's popover. $('#element').popover('toggle')<br />
Show:.popover('show') Reveals an element's popover. $('#element').popover('show')<br />
Hide:.popover('hide') Hides an element's popover. $('#element').popover('hide')<br />
Destroy:.popover('destroy')<br />
EXAMPLE<br />
Hides and destroys an element's<br />
popover.<br />
The following example demonstrates popover plugin methods:<br />
$('#element').popover('destroy')<br />
<br />
<br />
Popover on left<br />
<br />
<br />
Popover on top<br />
<br />