import popper.js
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
615dc56d16
commit
16fb2bb919
241 changed files with 34099 additions and 0 deletions
11
assets/u/static/popper.js-1.16.0/docs/_includes/example50-code.html
Executable file
11
assets/u/static/popper.js-1.16.0/docs/_includes/example50-code.html
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 %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue