big-moving.ru/assets/vendor_components/popper/docs/_includes/example10-code.html

14 lines
377 B
HTML
Raw Normal View History

2022-06-24 15:29:23 +05:00
<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>