IAnimated
Defined in: mixins/animated.ts:18
Interface for animated entities.
Properties
Section titled “Properties”onAnimationComplete
Section titled “onAnimationComplete”onAnimationComplete:
Signal
<(entity
) =>void
>
Defined in: mixins/animated.ts:21
onAnimationStart
Section titled “onAnimationStart”onAnimationStart:
Signal
<(entity
) =>void
>
Defined in: mixins/animated.ts:19
onAnimationUpdate
Section titled “onAnimationUpdate”onAnimationUpdate:
Signal
<(entity
) =>void
>
Defined in: mixins/animated.ts:20
Methods
Section titled “Methods”animate()
Section titled “animate()”animate(
animationProps
,instance?
):Tween
Defined in: mixins/animated.ts:23
Parameters
Section titled “Parameters”animationProps
Section titled “animationProps”instance?
Section titled “instance?”any
Returns
Section titled “Returns”Tween
animateFrom()
Section titled “animateFrom()”animateFrom(
animationProps
,instance?
):Tween
Defined in: mixins/animated.ts:25
Parameters
Section titled “Parameters”animationProps
Section titled “animationProps”instance?
Section titled “instance?”any
Returns
Section titled “Returns”Tween
animateFromTo()
Section titled “animateFromTo()”animateFromTo(
fromProps
,toProps
,instance?
):Tween
Defined in: mixins/animated.ts:27
Parameters
Section titled “Parameters”fromProps
Section titled “fromProps”toProps
Section titled “toProps”instance?
Section titled “instance?”any
Returns
Section titled “Returns”Tween
animateSequence()
Section titled “animateSequence()”animateSequence(
sequences
,instance?
):Timeline
Defined in: mixins/animated.ts:33
Parameters
Section titled “Parameters”sequences
Section titled “sequences”instance?
Section titled “instance?”any
Returns
Section titled “Returns”Timeline
bob(
config?
,instance?
):Tween
Defined in: mixins/animated.ts:50
Parameters
Section titled “Parameters”config?
Section titled “config?”duration?
Section titled “duration?”number
intensity?
Section titled “intensity?”number
instance?
Section titled “instance?”any
Returns
Section titled “Returns”Tween
destroyAnimations()
Section titled “destroyAnimations()”destroyAnimations():
void
Defined in: mixins/animated.ts:39
Returns
Section titled “Returns”void
isAnimationPlaying()
Section titled “isAnimationPlaying()”isAnimationPlaying():
boolean
Defined in: mixins/animated.ts:43
Returns
Section titled “Returns”boolean
pauseAnimations()
Section titled “pauseAnimations()”pauseAnimations():
void
Defined in: mixins/animated.ts:35
Returns
Section titled “Returns”void
pulse()
Section titled “pulse()”pulse(
config?
,instance?
):Tween
Defined in: mixins/animated.ts:48
Parameters
Section titled “Parameters”config?
Section titled “config?”duration?
Section titled “duration?”number
intensity?
Section titled “intensity?”number
times?
Section titled “times?”number
instance?
Section titled “instance?”any
Returns
Section titled “Returns”Tween
resumeAnimations()
Section titled “resumeAnimations()”resumeAnimations():
void
Defined in: mixins/animated.ts:37
Returns
Section titled “Returns”void
reverseAnimation()
Section titled “reverseAnimation()”reverseAnimation():
void
Defined in: mixins/animated.ts:41
Returns
Section titled “Returns”void
shake()
Section titled “shake()”shake(
config?
,instance?
):Tween
Defined in: mixins/animated.ts:46
Parameters
Section titled “Parameters”config?
Section titled “config?”duration?
Section titled “duration?”number
intensity?
Section titled “intensity?”number
times?
Section titled “times?”number
instance?
Section titled “instance?”any
Returns
Section titled “Returns”Tween