Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide example on how to use custom trigger link/element #145

Open
gkatsanos opened this issue Mar 21, 2021 · 1 comment
Open

Provide example on how to use custom trigger link/element #145

gkatsanos opened this issue Mar 21, 2021 · 1 comment

Comments

@gkatsanos
Copy link

gkatsanos commented Mar 21, 2021

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.

@jdlawrence
Copy link

I would love to see this as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants