vue-popper
vue-popper copied to clipboard
Provide example on how to use custom trigger link/element
Hello,
As the example is quite limited, it's unclear how to use vue-popper when one needs to extend it with another component.
<custom-popper>
<vue-popper>
<!-- ? -->
</vue-popper>
</custom-popper>
then:
<page-component>
<custom-popper>
<template v-slot:reference>
<a>activate popover</a>
</template>
</custom-popper>
</page-component>
and using a custom HTML for the reference slot. Do you mind providing an example? I'd be glad to make a MR adding it to the readme.
I would love to see this as well!