vue-popper icon indicating copy to clipboard operation
vue-popper copied to clipboard

Provide example on how to use custom trigger link/element

Open gkatsanos opened this issue 4 years ago β€’ 1 comments

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.

gkatsanos avatar Mar 21 '21 18:03 gkatsanos

I would love to see this as well!

jdlawrence avatar Apr 03 '23 15:04 jdlawrence