Migration for In-Application State Variables This guide provides migration instructions for in-application state variables. V1 Decorator Name/ScenarioMigration Solution LocalStorage@ObservedV2 @Trace
阅读全文
openharmony 鸿蒙 arkts-state-management-introduce
State Management Principles This document describes the basic principles of state management. The core logic of state management is to process the binding relationships between state variables, custom
阅读全文
openharmony 鸿蒙 ui-ide-previewer
UI Preview DevEco Studio provides the UI preview function, which allows you to view the UI effect and adjust the page layout at any time. You can preview both pages and components. The icon on the lef
阅读全文
openharmony 鸿蒙 arkts-stability-crash-issues
Common UI-Related Application Crash Issues This topic outlines frequent misuse patterns of ArkUI APIs that may lead to application crashes. It is intended to help you recognize and avoid common pitfal
阅读全文
openharmony 鸿蒙 arkts-navigation-animation
Transition Animation Navigation provides default transition animations, as well as custom transition animations and shared element transition animations. Default Transition Animations The system provi
阅读全文
openharmony 鸿蒙 arkts-text-image-layout
Text and Image Layout Text and image layout combines images with text, allowing text to flow around images. This layout approach presents information intuitively, enhances visual impact, and creates d
阅读全文
openharmony 鸿蒙 ndk-styled-string
Drawing and Displaying Text in Text Components Some frameworks or applications have their own text layout capabilities, which are integrated into the ArkGraphics2D text engine during porting. To avoid
阅读全文
openharmony 鸿蒙 arkui-glossary
ArkUI Glossary Component Coordinate System A coordinate system that takes the top‑left corner of the component as the origin, where the positive x‑axis points to the right and the positive y‑axis
阅读全文
openharmony 鸿蒙 arkts-navigation-split-mode
Split-View Layout Navigation is a container component that provides two layouts: single-column layout and split-view layout. The split-view layout is applicable to wide-screen devices. In this layout,
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-support-gesture
Implementing Gesture Responses When a user action matches the predefined characteristics of a gesture, the system recognizes it as that gesture. This process is called gesture recognition. To respond
阅读全文