Events at the rendering layer of ASCF are classified into the following types:
Unless otherwise specified, other events are non-bubbling events, such as the submit event of the form component, input event of the input component, and scroll event of the scroll-view component.
| Type | Triggering Event |
|---|---|
| touchstart | A touch action starts. |
| touchmove | A finger moves after touching. |
| touchcancel | A touch is interrupted by an incoming call or a dialog box. |
| touchend | A touch action ends. |
| tap | A finger taps. |
| longpress | A finger long presses for more than 350 ms. If an event callback is specified and this event is triggered, the tap event will not be triggered. |
| longtap | A finger long presses for more than 350 ms. (The longpress event is recommended.) |
| transitionend | The transition animation or has.createAnimation ends. |
| animationstart | An animation starts. |
| animationiteration | An animation iteration ends. |
| animationend | An animation ends. |