phpvms/public/vendor/popper.js/docs/_includes/example10t-code.html

14 lines
337 B
HTML
Raw Normal View History

2017-08-16 07:07:14 +08:00
<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>