Docs (4.0.0)
class UITheme property

animations

A map that defines a set of predefined output transform animations.

animations: Map<string, RenderContext.OutputTransformer<unknown>>

Description

The animations defined by this map can be used with the GlobalContext.animateAsync method, as well as UIAnimationView and the animations set on the RenderContext.PlacementOptions object. Default animations are also available as static properties of ui.animation(), e.g. ui.animation.FADE_IN.

Related

  • class UIThemeA collection of default style options, colors, animations, effects, and icons, part of the global application context.