phpvms/public/vendor/popper.js/docs/_includes/example10t-code.html
2017-08-15 18:07:14 -05:00

14 lines
337 B
HTML

<h2 id="example10" tabindex="0"></h2>
<p id="example10Title">
The available placements are the same you are used to with Popper.js:
</p>
<div id="example10code">
{% highlight javascript %}
new Tooltip(referenceElement, {
placement: 'top', // or bottom, left, right, and variations
title: "Top"
});
{% endhighlight %}
</div>