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

Use as attribute #27

Closed
keenthemes opened this issue Nov 13, 2019 · 1 comment
Closed

Use as attribute #27

keenthemes opened this issue Nov 13, 2019 · 1 comment

Comments

@keenthemes
Copy link

keenthemes commented Nov 13, 2019

Hello,

Great plugin! Is there any way to use it as an attribute instead of using a component tag? For example,

<ul perfectScrollbar...

Basically, we want to avoid using it this way.

<perfect-scrollbar>
   <ul></ul>
</perfect-scrollbar>

Thanks

@keenthemes
Copy link
Author

keenthemes commented Nov 13, 2019

Nevermind. It seems we find a way for it.

<perfect-scrollbar v-bind:tag="'ul'">
   <li></li>
</perfect-scrollbar>

Thanks~!

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

0 participants