add popper.js
This commit is contained in:
11
public/vendor/popper.js/docs/_includes/example50-code.html
vendored
Executable file
11
public/vendor/popper.js/docs/_includes/example50-code.html
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
<h2 id="example5" tabindex="0">Viewport boundaries</h2>
|
||||
<p>
|
||||
By default, poppers use as boundaries the page viewport.<br>
|
||||
Scroll the page to see the popper flip when hits the page viewport margins.
|
||||
</p>
|
||||
|
||||
{% highlight javascript %}
|
||||
var popper = new Popper(referenceElement, onBottomPopper, {
|
||||
placement: 'bottom'
|
||||
});
|
||||
{% endhighlight %}
|
||||
Reference in New Issue
Block a user