ungleich-staticcms/assets/u/static/popper.js-1.16.0/docs/_includes/example10-code.html

14 lines
377 B
HTML
Raw Normal View History

<h2 id="example10" tabindex="0">Popper on your side!</h2>
<p id="example10Title">
What are you waiting for? Select a popper from that dropdown.<br />
Placing poppers around elements is just that easy!
</p>
<div id="example10code">
{% highlight javascript %}
var popper = new Popper(referenceElement, onPopper, {
placement: 'position'
});
{% endhighlight %}
</div>