Skip to main content

Animations

Like Effects, animations are a property element on visual nodes and apply only to that node.

Animation types

Common attributes

  • Duration: milliseconds, default 300
  • Delay: milliseconds, default 0
  • Easing: Linear / Ease / EaseIn / EaseOut / EaseInOut
  • Repeat: number or Infinite
  • Trigger: Loaded / Hover / Click
SlideIn uses Direction (Left / Right / Top / Bottom) and Distance (default 8).

Default animation takeover

  • Declaring Animations takes over only that node’s default transition; other nodes keep the launcher defaults
  • Declaring Effects takes over only the Effect and leaves default animations alone
  • Both can be declared together

Triggers

  • Loaded: play after mount
  • Hover: play on pointer enter
  • Click: play while pressed (CSS :active)
Animations are visual only and do not change layout size. Use Size, When, or rerender for layout changes.

Limits

  • Animations do not trigger data loading or actions; use Trigger for event logic
  • Click currently plays on the pressed state, not a full click state machine
  • transform animations and transform effects can override each other; use one transform style per node