Animations
LikeEffects, animations are a property element on visual nodes and apply only to that node.
Animation types
Common attributes
Duration: milliseconds, default300Delay: milliseconds, default0Easing:Linear/Ease/EaseIn/EaseOut/EaseInOutRepeat: number orInfiniteTrigger:Loaded/Hover/Click
SlideIn uses Direction (Left / Right / Top / Bottom) and Distance (default 8).
Default animation takeover
- Declaring
Animationstakes over only that node’s default transition; other nodes keep the launcher defaults - Declaring
Effectstakes over only the Effect and leaves default animations alone - Both can be declared together
Triggers
Loaded: play after mountHover: play on pointer enterClick: play while pressed (CSS:active)
Size, When, or rerender for layout changes.
Limits
- Animations do not trigger data loading or actions; use
Triggerfor event logic Clickcurrently plays on the pressed state, not a full click state machinetransformanimations and transform effects can override each other; use one transform style per node