⌂
›
Reference
›
Animatedswitcher
Animatedswitcher
Animatedswitcher control. Build it with the animated_switcher helper.
Example
animated_switcher(
content: text("Animatedswitcher"),
expand: true,
width: 240,
height: 120,
on_animation_end: ->(event) {}
)
Properties
content— The single child control rendered inside this control.durationreverse_durationswitch_in_curveswitch_out_curvetransition
Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).
Events
on_animation_end— Fired when an animation completes.on_size_change— Fired when the control's size changes.
Reference
- Family:
shared - Widget type:
animatedswitcher - Helper:
animated_switcher