Table of contents
Animation
Propreties:
animation_id→numberThe animation's ID, used for interracting with lilt animations
Methods:
:animate_table(false_table, true_table)
false_table:tableThe table to go to when the
animation stateisfalse
true_table:tableThe table to go to when the
animation stateistrue
:animate_value(false_value, true_value)
false_value:numberThe value to transition to when the
animation stateisfalse
true_value:numberThe value to transition to when the
animation stateistrue
:get_state() → boolean
:play()
:toggle(state)
state:boolean?If provided, change to a specific state
Animations
Propreties:
Methods:
:animate_style(animation, false_style, true_style)
animation:Animation
false_style:stringThe classname of the requested style to go to when the
animationisfalse.
true_style:stringThe classname of the requested style to go to when the
animationistrue.
:new(starting_value, time, easing, repeat_amount, reverse, delay) → Animation
starting_value:boolean|nilThe state of the animation, default is
false
time:number|nilThe amount of seconds it takes for the animation to complete. Default is
1
easing:"ease_in"|"ease_in_back"|"ease_in_bounce"|"ease_in_circ"|"ease_in_cubic"...(+27)The easing style of the animation, default is
"linear"
repeat_amount:number|nilThe amount of times the animation will repeat itself, default is
nil
reverse:boolean|nilWill the animation reverse itself, default is
false
delay:number|nilThe delay until the animation will start, in seconds. Default is
0