02.06.2015 Views

Bootstrap Tutorial

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

})<br />

hide.bs.popover<br />

This event is fired immediately<br />

when the hide instance method<br />

has been called.<br />

$('#mypopover').on('hide.bs.popover',<br />

function () {<br />

// do something…<br />

})<br />

hidden.bs.popover<br />

This event is fired when the<br />

popover has finished being hidden<br />

from the user (will wait for CSS<br />

transitions to complete).<br />

$('#mypopover').on('hidden.bs.popover',<br />

function () {<br />

// do something…<br />

})<br />

EXAMPLE<br />

The following example demonstrates the Popover plugin events:<br />

<br />

<br />

Popover on left<br />

<br />

<br />

<br />

$(function () { $('.popover-show').popover('show');});<br />

$(function () { $('.popover-show').on('shown.bs.popover', function () {<br />

alert("Alert message on show");<br />

})});<br />

<br />

<br />

TUTORIALS POINT<br />

Simply Easy Learning

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!