Building a Rendering Node Since API version 20, the ArkUI development framework provides NDK APIs for directly building rendering nodes. These capabilities include rendering node tree operations, attr
阅读全文
openharmony 鸿蒙 arkts-stability-guide
UI Stability Issue Analysis Overview This topic explains the concepts and classification of stability issues, and provides guidance for locating stability issues using system debugging capabilities an
阅读全文
openharmony 鸿蒙 arkts-layout-development-create-waterflow
Creating a Waterfall Flow (WaterFlow) You can use the WaterFlow component in ArkUI to create a waterfall flow layout, which is commonly used to display image collections, especially in e-commerce and
阅读全文
openharmony 鸿蒙 arkts-manage-keyboard
Soft Keyboard Management The soft keyboard serves as a critical user interaction channel for text input. This topic explains how to control soft keyboard display and hiding when using system input com
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-touchpad
Handling Touchpad Input Events Touchpad interactions generate different types of input events depending on the gesture performed. A single-finger tap triggers a left mouse click event. A single-finger
阅读全文
openharmony 鸿蒙 arkts-user-defined-draw
Custom Drawing Overview If the default drawing content of a component fails to meet your requirements, you can customize the component's drawing to achieve the desired effect. For example, you can cre
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-mouse
Handling Mouse Input Events The mouse is a key input device, especially for 2-in-1 devices. It can perform actions such as tapping or swiping via button clicks and trigger scrolling gestures using the
阅读全文
openharmony 鸿蒙 arkts-new-rendering-control-repeat
Repeat: Reusing Components for Repeated Content Rendering NOTE Repeat is supported since API version 12. This topic serves as a development guide. For details about the component API specifications, s
阅读全文
openharmony 鸿蒙 arkts-rendering-control-ifelse
if/else: Conditional Rendering ArkTS supports conditional rendering, allowing you to display different content based on the application state using if, else, and else if statements. NOTE This API can
阅读全文
openharmony 鸿蒙 arkts-lazyforeach-repeat-migration-guide
Migrating from LazyForEach to Repeat Repeat is a loop rendering component introduced in ArkUI since API version 12. Compared with LazyForEach, Repeat offers a simpler API, enhanced functionality, and
阅读全文