harmony 鸿蒙Universal Events

  • 2022-12-13
  • 浏览 (542)

Universal Events

Unlike private events, universal events can be bound to most components. (If a keyup event needs to be triggered to respond to the input of carriage return and space characters on the keyboard, add the click event to the outermost component.)

NOTE

The APIs of this module are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version.

Name Parameter Description
click - Triggered when a component is clicked.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS Service Widget UI Components

harmony 鸿蒙Data Types

harmony 鸿蒙button

harmony 鸿蒙calendar

harmony 鸿蒙chart

harmony 鸿蒙clock

harmony 鸿蒙divider

harmony 鸿蒙image

harmony 鸿蒙input

harmony 鸿蒙progress

0  赞