Skip to content

Use of timer and gestureEvent in zeppos v1 #122

Closed Answered by MyoungXUE
Rafucho25 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello

For the first question, I was not able to reproduce it due to insufficient clues, could you provide the relevant code snippet. The timer is not needed to be introduced, the code in the documentation can be used directly.

If timer is not working, it is recommended to use setTimeout and setInterval instead.

The second issue is that we need to use the unregisterGestureEvent API to unregister gesture events when we leave the page.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Rafucho25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants