Subpage NavDestination is the root container for Navigation subpages and is used to hold special attributes as well as lifecycles of subpages. You can set separate attributes such as the title bar and
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-gamepad
Handling Gamepad Input Events Since API version 15, ArkUI supports gamepads as input devices. When a user operates a gamepad, the system recognizes its input actions and reports them as key events or
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-keyboard
Handling Keyboard Input Events Key events generated by physical keys are non-pointer events. Unlike pointer events such as touch events, non-pointer events lack coordinate information and are dispatch
阅读全文
openharmony 鸿蒙 arkts-user-defined-arktsNode-crossLanguage
Setting Custom Node Cross-Language Attributes Overview ArkUI supports creating imperative nodes using the ArkTS language on the frontend, that is, FrameNodes. It also allows creating imperative nodes
阅读全文
openharmony 鸿蒙 arkts-text-faq
FAQs About Text Components This topic addresses common issues related to text components. FAQs About Text Display (Text/Span) This section describes FAQs about text display using the Text and Span com
阅读全文
openharmony 鸿蒙 arkts-env-system-property
@Env: Environment Variable In multi-device development scenarios, you can use the @Env decorator to listen for changes of system environment variables and determine the scenario based on the system en
阅读全文
openharmony 鸿蒙 ndk-build-on-multi-thread
Creating Multi-threaded Components with the NDK Overview In versions earlier than API version 22, UI component creation and attribute setting must be performed in the application's UI thread. This mea
阅读全文
openharmony 鸿蒙 arkts-universal-attributes-accessibility
Supporting Accessibility Overview Accessibility service is a set of solutions aimed at providing seamless access to all scenarios. The screen reader can convert the UI elements and content of an appli
阅读全文
openharmony 鸿蒙 ndk-scope-task
Ensuring Multi-Instance Functionality in the NDK Since API version 20, the ArkUI development framework provides the OH_ArkUI_RunTaskInScope API to address component operation challenges in multi-insta
阅读全文
openharmony 鸿蒙 ndk-build-form-components
Building Form Components ArkUI NDK provides multiple form components, including Button, Slider, Toggle, Checkbox, CheckboxGroup, and Radio Button (Radio). These components are basic elements for user
阅读全文