JS Widget Overview JS widgets, developed using a web-like paradigm (HML + CSS + JSON), now support two application models: the FA model and the stage model. For details, see Developing a JS Widget (St
阅读全文
openharmony 鸿蒙 arkts-ui-widget-load-custom-font
Using Custom Fonts in ArkTS Widgets Starting from API version 22, the ohos.graphics.text.FontCollection.getLocalInstance API has been added to obtain the local font set instance. Applications can use
阅读全文
openharmony 鸿蒙 arkts-ui-widget-effect-sys
New Material Adaptation for ArkTS Widgets (for System Applications Only) Starting from API version 23, Form Kit allows system apps to use new materials that deliver iridescent and transparent visual e
阅读全文
openharmony 鸿蒙 arkts-ui-liveform-sceneanimation-development
Developing a Scene-based Widget This document outlines the development of scene-based widgets, covering UI designs for both inactive and active states, as well as related configuration files. Availabl
阅读全文
openharmony 鸿蒙 widget-host-development-guide-sys
ArkTS Widget Host Development (for System Applications Only) Widget Overview A widget is a set of UI components that display important information or operations specific to an application. It provides
阅读全文
openharmony 鸿蒙 arkts-ui-widget-process
ArkTS Widget Process Model This section describes the processes of a widget from creation to display. For details, see the figure below. Figure 1 Widget process model Widget host process: a host proce
阅读全文
openharmony 鸿蒙 arkts-ui-widget-active-refresh
Active Update of ArkTS Widgets This section provides the development guidelines for active update. For details about the update process, see Active Update. Active Update by Widget Provider The widget
阅读全文
openharmony 鸿蒙 arkts-ui-widget-passive-refresh
Passive Update of ArkTS Widgets This section provides the development guidelines for passive update. For details about the update process, see Passive Update. Interval-based Update Form Kit provides t
阅读全文
openharmony 鸿蒙 arkts-ui-widget-visual-effect-sys
Glass Material Adaptation for ArkTS Widgets (for System Applications Only) Starting from API version 22, Form Kit supports the glass material effect for system applications, which enhances visual pres
阅读全文
openharmony 鸿蒙 arkts-ui-widget-dark-light-color-adapt
Dark and Light Mode Adaptation for ArkTS Widget UI The system offers dark and light modes. ArkTS widgets should adapt to both modes to enhance visual consistency between widgets and pages, delivering
阅读全文