1e41f4b71Sopenharmony_ci# Universal Events 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci 4e41f4b71Sopenharmony_ciDifferent from private events, universal events can be bound to most components. 5e41f4b71Sopenharmony_ci 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ci| Name| Parameter| Description| 8e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 9e41f4b71Sopenharmony_ci| click | - | Triggered when the component is clicked. | 10e41f4b71Sopenharmony_ci| longpress | - | Triggered when the component is long pressed. | 11e41f4b71Sopenharmony_ci| swipe<sup>5+</sup> | SwipeEvent | Triggered when a user quickly swipes on the component. | 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci 14e41f4b71Sopenharmony_ciSwipeEvent (inherited from BaseEvent) 15e41f4b71Sopenharmony_ci 16e41f4b71Sopenharmony_ci| Attribute| Type| Description | 17e41f4b71Sopenharmony_ci| -------- | -------- | -------- | 18e41f4b71Sopenharmony_ci| direction | string | Swiping direction. The value can be one of the following:<br>- **left**: Swipe left.<br>- **right**: Swipe right.<br>- **up**: Swipe up.<br>- **down**: Swipe down. | 19e41f4b71Sopenharmony_ci 20