# Universal Events ## Event Description - Events are bound to components. When a component meets the event triggering condition, the corresponding event callback in the JS is executed to implement the interaction between the UI and the JS logic layer of the page. - The event callback can carry additional information through parameters, such as the dataset on the component and event-specific callback parameters. Different from private events, universal events can be bound to most components.
Swiping direction. The value can be one of the following: |
||
Horizontal distance from the origin of the coordinates in the upper left corner of the screen. |
||
Vertical distance from the origin of the coordinates in the upper left corner of the screen. |
||
Custom attribute set defined through data-*. |