Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
is there a way for go to top?
fatihucom last edited by fatihucom
Is there a way for go to top? How can i do this.
@fatihucom Can you specify a bit more? If you mean moving the scroll to the top, you need to change the
scrollTopproperty as in any other HTML element.
document.querySelector('ons-page#myCurrentPage').scrollTop = 0;
fatihucom last edited by
@Fran-Diox Yes, its about moving the scroll to the top.
I will try scrollTop = 0 …