Change a popover color using the data-state
attribute.
Change a popover style using the data-style
attribute.
You can initialize all popovers on a page by their data-toggle
attribute:
$(function() {
$('[data-toggle="popover"]').popover();
});
require(['jquery', 'px/extensions/popover'], function($) {
...
});
To use popovers, you need to include ui-bootstrap.js script:
<script src="path/to/js/ui-bootstrap.js"></script>