Description
vue-popperjs is a Vue component for popovers, built on popper.js. A popover is a box that opens next to an element, and this component places it using popper.js positioning. It can be installed from npm or yarn, loaded from a CDN, or used through Bower, and the README links to a jsFiddle example. The usage section gives examples for a Vue single file component using ECMAScript 2015, and for a browser setup in ES5. The props control its behaviour. The trigger prop has four values: hover opens the popover on hover, clickToOpen opens it on each click and closes it only when you click outside, clickToToggle toggles it on click, and focus opens it on focus and closes it on blur. Other props include delay-on-mouse-over and delay-on-mouse-out, which default to 10 milliseconds, append-to-body, visible-arrow, which defaults to true, force-show, and content.…
Highlights
- Popover component built on popper.js
- Hover, click and focus triggers
- Delay, arrow and transition props
- Available from npm, Yarn, Bower or CDN
Ratings & Reviews
No ratings yet
Be the first to rate vue-popperjs.
People also visit

vue-bottom-sheet
A swipeable bottom sheet component for Vue.js created with Hammer.js
vue-popperjs FAQ
What is vue-popperjs?
A Vue popover component that uses popper.js to position its content next to an element.
How do I install it?
Use npm or yarn, load it from the unpkg CDN, or install it with Bower, as the README describes.
What triggers are available?
hover, clickToOpen, clickToToggle and focus. The click trigger is deprecated and works like clickToToggle.
Can I change the placement?
Yes. The options prop passes popper.js options, and the default placement is bottom.
How long is the default delay?
The default delay before showing or hiding is 10 milliseconds on mouse over and mouse out.
What are the best vue-popperjs alternatives?
Popular alternatives to vue-popperjs include v-tooltip, @rc-component/trigger and react-popopo. See all vue-popperjs alternatives



















