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

Do <back-to-top></back-to-top> tag do not allow @click="" or running any method? #19

Open
KaitoXion opened this issue Jun 11, 2019 · 0 comments

Comments

@KaitoXion
Copy link

KaitoXion commented Jun 11, 2019

tag does not seems to allow @click="" or running any method.

I suppose it's purposefully made this way? I'm using vue.js + Visual Code Studio.

<back-to-top class="btn btn-to-top" bottom="50px" right="50px" visibleoffset="1700" @click="whateverMethod">
        <i class="fa fa-chevron-up"></i>
</back-to-top>

I don't seems to be able to get any value from the button tag, aside from the tag.
well; is true that I could somehow add a div or a square big enough as a work around, I think. Am a newbie; so ya.

Just thought of confirming.

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

1 participant