Is it possible to transition monaca in-page onsenUI?

Asked 2 years ago, Updated 2 years ago, 74 views

I am currently using monaca and onsenUI to create an application, but I am having trouble because I do not know how to perform the in-page transition.
If you know how to do it, please tell me.

monaca onsen-ui

2022-09-30 16:16

1 Answers

This is the only way I can think of...

<ons-scroller style="width:100%;height:300px;">
    <a name="top"></a>
     :
     : omission
     :
    <a href="#top">To the top</a>
</ons-scroller>

Additional information

If you can use AngularJS, you can also call $location.hash, $anchorScroll when you press the button.

Reference link Initial location of ons-list


2022-09-30 16:16

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.