vue-backtotop
vue-backtotop copied to clipboard
Do <back-to-top></back-to-top> tag do not 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.