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
14
assets/u/static/popper.js-1.16.0/docs/_includes/example40-code.html
Executable file
14
assets/u/static/popper.js-1.16.0/docs/_includes/example40-code.html
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
<h2 id="example4" tabindex="0">Shifted poppers</h2>
|
||||
<p>
|
||||
Shift your poppers on start or end of its reference element side.
|
||||
</p>
|
||||
|
||||
{% highlight javascript %}
|
||||
var shiftStart = new Popper(referenceElement, shiftStartPopper, {
|
||||
placement: 'left-start',
|
||||
});
|
||||
|
||||
var shiftEnd = new Popper(referenceElement, shiftEndPopper, {
|
||||
placement: 'bottom-end',
|
||||
});
|
||||
{% endhighlight %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue