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

11 lines
370 B
HTML
Executable File

<h2 id="example2" tabindex="0">Popper on scrolling container</h2>
<p>
In this example we have a relative div which contains a div with <code>overflow: scroll</code>.<br>
Inside it, there are our popper and reference elements.
</p>
{% highlight javascript %}
var popper = new Popper(referenceElement, onLeftPopper, {
placement: 'left',
});
{% endhighlight %}