Advanced Vue popover component
You can check out demo page: click here
npm install vue-advanced-popover
or use script directly in the browser: dist/vue-advanced-popover.min.js
- Setup:
- npm:
import Vue from 'vue';
import VueAdvancedPopover from 'vue-advanced-popover';
Vue.use(VueAdvancedPopover);
- directly in the browser:
<!-- import Vue.js at first -->
<script src="vue-advanced-popover.min.js"></script>
Vue plugin VueAdvancedPopover
exposes global v-popover
component and v-popover
directive.
- Typical use:
<button v-popover="'my-popover'">Open popover</button>
<v-popover id="my-popover">
Popover content
</v-popover>