Gesture Handler You can set the gestures that are bound to a component. You can use the UIGestureEvent object to add or remove gestures. NOTE The initial APIs of this module are supported since API ve
阅读全文
openharmony 鸿蒙 ts-universal-attributes-use-union-effect-sys
Union Effect (System API) This section describes how to set the union effect. NOTE: This parameter is supported since API version 23. Updates will be marked with a superscript to indicate their earlie
阅读全文
openharmony 鸿蒙 ts-universal-events-drag-drop-sys
Drag Event (System API) A drag event refers to a sequence of events triggered in the UI when a user drags an object (such as a file, component, or element). These events allow you to customize drag an
阅读全文
openharmony 鸿蒙 ts-custom-component-parameter
Custom Component Parameters NOTE The initial APIs of this module are supported since API version 11. Newly added APIs will be marked with a superscript to indicate their earliest API version. Componen
阅读全文
openharmony 鸿蒙 ts-universal-events-onneedsoftkeyboard
Keyboard Determination Event A keyboard determination event is triggered when a component gains focus. The system determines whether a keyboard is required based on the return value of the callback fu
阅读全文
openharmony 鸿蒙 ts-universal-entry
@Entry: Page Entry Declaration The custom component decorated with @Entry is used as the entry of the UI page. NOTE The initial APIs of this module are supported since API version 7. Newly added APIs
阅读全文
openharmony 鸿蒙 ts-universal-attributes-menu-sys
Menu Control (System API) A context menu – a vertical list of items – can be bound to a component and displayed by long-pressing, clicking, or right-clicking the component. NOTE This component is supp
阅读全文
openharmony 鸿蒙 ts-basic-components-textarea-sys
TextArea (System API) The TextArea component supports multi-line text input. NOTE This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest
阅读全文
openharmony 鸿蒙 ts-universal-attributes-attribute-symbolglyphmodifier
Symbol Glyph Modifier SymbolGlyphModifier is used to dynamically set the attributes and styles of the SymbolGlyph component. The if/else statements can be used. SymbolGlyph is a component used to disp
阅读全文
openharmony 鸿蒙 ts-picker-common
Picker Common APIs This topic covers the common APIs of picker components. NOTE The initial APIs of this module are supported since API version 10. Updates will be marked with a superscript to indicat
阅读全文