Overview of Interactive Widgets
Supported since API version 20, interactive widgets provide animation capabilities such as overflow animations, rich information notifications, and shallow interactions, greatly enhancing user experience.
Scenarios
There are two types of interactive widgets: fun-based widget and scene-based widget.
Fun-based Widget
Users can tap a fun-based widget to play mini games. Currently, this feature can be developed only based on quick games. For details, see Developing a Fun-based Widget.
Figure 1 Example of a fun-based widget

Scene-based Widget
Scene-based widgets support scene animations. For example, a weather widget activates and triggers its weather animation effect when the weather changes to a thunderstorm. Once the animation ends, the widget reverts to its original display. For details, see Overview of Scene-based Widgets.
Constraints
- As an enhancement of the widget functionality, interactive widgets cannot overly depend on animations.
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 arkts-ui-widget-adapt-faq
openharmony 鸿蒙 arkts-ui-liveform-funinteraction-development
openharmony 鸿蒙 js-ui-widget-development
openharmony 鸿蒙 arkts-ui-widget-page-animation
openharmony 鸿蒙 arkts-ui-widget-event-uiability
openharmony 鸿蒙 arkts-form-overview
openharmony 鸿蒙 arkts-ui-widget-creation
openharmony 鸿蒙 arkts-ui-widget-event-call