harmony 鸿蒙Interaction Event Overview

  • 2023-06-24
  • 浏览 (606)

Interaction Event Overview

Interaction events are classified based on trigger types into touchscreen events, keyboard and mouse events, and focus events.

  • Touchscreen event: an event triggered by the operation performed a finger or stylus on the touchscreen.

  • Keyboard and mouse event: an event triggered by an operation performed on a peripheral mouse, touchpad, or keyboard.

    • The mouse event refers to an event responded to when an operation is performed with a peripheral mouse or touchpad.
    • The keyboard event refera to an event responded to when an operation is performed with a peripheral keyboard.
  • Focus event: an event triggered when a component receives or loses focus.

The gesture event includes the gesture binding method and the bound gesture – a single or combined gesture.

  • Gesture binding method: a method that binds a single or combined gesture to a component and declares the response priority of the bound gesture.

  • Single gesture: basic unit of gestures, which is a part of all complex gestures.

  • Combined gesture: a combination of single gestures brought together according to a declared type and a certain rule.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙UI Development

harmony 鸿蒙Animation Smoothing

harmony 鸿蒙Animation Overview

harmony 鸿蒙Property Animation APIs

harmony 鸿蒙Property Animation Overview

harmony 鸿蒙Blur Effect

harmony 鸿蒙Color Effect

harmony 鸿蒙Button

harmony 鸿蒙Custom Dialog Box (CustomDialog)

harmony 鸿蒙Progress Indicator (Progress)

0  赞