• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Overview of Interactive Widgets
2
3Supported since API version 20, interactive widgets provide animation capabilities such as overflow animations, rich information notifications, and shallow interactions, greatly enhancing user experience.
4
5## Scenarios
6
7There are two types of interactive widgets: fun-based widget and scene-based widget.
8
9### Fun-based Widget
10
11Users 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](arkts-ui-liveform-funinteraction-development.md).
12
13**Figure 1** Example of a fun-based widget
14
15![live-form-game-demo.gif](figures/live-form-game-demo.gif)
16
17### Scene-based Widget
18
19Scene-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](arkts-ui-liveform-sceneanimation-overview.md).
20
21**Figure 2** Example of a scene-based widget
22
23![live-form-weather-demo.gif](figures/live-form-weather-demo.gif)
24
25## Constraints
26- As an enhancement of the widget functionality, interactive widgets cannot overly depend on animations.
27<!--RP1--><!--RP1End-->
28