class

Opal::Animation::ActiveTween

Inherits Reference < Object

Active tween controller tracking a target property with update and completion callbacks.

Constructors

new(tween : Tween, on_complete : Proc(Nil) | Nil = nil, &on_update : Float64 -> Nil)
Source

Instance methods

on_complete
Source
on_update
Source
tween
Source
update(now : Time::Instant = Time.instant) : Bool
Source