Using Component Snapshot (ComponentSnapshot) Overview Component snapshot is the capability to generate a pixel map (PixelMap) from the rendering result of a component node tree within an application.
阅读全文
openharmony 鸿蒙 ui-inspector-profiler
UI Profiling This topic describes tools for inspecting the UI hierarchy and profiling performance, designed to enhance development efficiency and optimize the developer experience. State Management: h
阅读全文
openharmony 鸿蒙 arkts-interaction-basic-principles
Interaction Mechanism Overview For pointer-based interactions including touch events, mouse events, and axis events, the interaction framework determines event and gesture targets through coordinate-b
阅读全文
openharmony 鸿蒙 arkts-interaction-development-guide-touch-screen
Handling Touchscreen Input Events Touchscreen devices are the most common input devices, supported by nearly all handheld terminal devices for user touch operations. Touch events are also one of the m
阅读全文
openharmony 鸿蒙 arkts-manage-components-visibility
Detecting Component Visibility Overview Component visibility refers to the display state of a component on the screen. By detecting visibility, applications can implement the following typical scenari
阅读全文
openharmony 鸿蒙 arkts-state-management-faq
State Management Development In-Component State Management FAQs Data Object State Management FAQs In-App State Management and Other FAQs Common Methods for Locating the Problem That Component Refresh
阅读全文
openharmony 鸿蒙 arkts-state-management-glossary
State Management Terms A Attribute-Level Updates The state management framework uses the class attribute decorator to observe attributes in class objects. When an attribute changes, only the component
阅读全文
openharmony 鸿蒙 arkts-v1-v2-mixusage-before-api-version
Mixed Use of State Management V1 and V2 (Before API Version 19) Overview NOTE: In this topic, the symbol "->" is used to indicate the transfer of variables. For example, "V1 -> V2" indicates tha
阅读全文
openharmony 鸿蒙 arkts-new-syncmonitor
@SyncMonitor Decorator: Synchronous Listening for Value Changes of the State Variables To enhance the listening capability of the state management framework for state variable changes, you can use the
阅读全文
openharmony 鸿蒙 arkts-new-provider-and-consumer
@Provider and @Consumer Decorators: Synchronizing Across Component Levels in a Two-Way Manner @Provider and @Consumer are used for synchronizing data across the component levels in a two-way manner, s
阅读全文