Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/view
Animator
Class Animator<T>
Type parameters
T
Hierarchy
Animator
ViewAnimator
StyleAnimator
AttributeAnimator
Implements
AnimationTrack
Index
Constructors
constructor
Properties
animator
Flags
interpolator
own
Look
own
State
own
Value
precedence
timing
Animating
Flag
Animator
Flags
Shift
Constrained
Flag
Constraining
Flag
Diverged
Flag
Inherited
Flag
Interrupt
Flag
Mounted
Flag
Override
Flag
Updated
Flag
Accessors
look
state
updated
Value
value
Methods
did
Set
Look
did
Set
Precedence
did
Set
State
did
Set
Value
did
Start
Animating
did
Stop
Animating
equal
State
get
State
get
State
Or
get
Value
get
Value
Or
is
Animating
is
Defined
is
Updated
on
Animate
on
Begin
on
End
on
Interrupt
on
Set
Look
on
Set
Precedence
on
Set
State
on
Set
Value
on
Start
Animating
on
Stop
Animating
set
Animated
State
set
Animator
Flags
set
Immediate
State
set
Intermediate
Value
set
Look
set
Own
Look
set
Own
State
set
Precedence
set
State
set
Value
start
Animating
stop
Animating
take
Updated
Value
take
Value
takes
Precedence
will
Set
Look
will
Set
Precedence
will
Set
State
will
Set
Value
will
Start
Animating
will
Stop
Animating
Constructors
constructor
new
Animator<T>
(
)
:
Animator
<
T
>
Type parameters
T
Returns
Animator
<
T
>
Properties
Readonly
animator
Flags
animator
Flags
:
number
Readonly
interpolator
interpolator
:
null
|
Interpolator
<
T
>
Readonly
own
Look
own
Look
:
null
|
Look
<
T
,
never
>
Readonly
own
State
own
State
:
T
Readonly
own
Value
own
Value
:
T
Readonly
precedence
precedence
:
number
Readonly
timing
timing
:
null
|
Timing
Static
Readonly
Animating
Flag
Animating
Flag
:
number
Static
Animator
Flags
Shift
Animator
Flags
Shift
:
number
Static
Readonly
Constrained
Flag
Constrained
Flag
:
number
Static
Readonly
Constraining
Flag
Constraining
Flag
:
number
Static
Readonly
Diverged
Flag
Diverged
Flag
:
number
Static
Readonly
Inherited
Flag
Inherited
Flag
:
number
Static
Readonly
Interrupt
Flag
Interrupt
Flag
:
number
Static
Readonly
Mounted
Flag
Mounted
Flag
:
number
Static
Readonly
Override
Flag
Override
Flag
:
number
Static
Readonly
Updated
Flag
Updated
Flag
:
number
Accessors
look
get
look
(
)
:
null
|
Look
<
T
,
never
>
Returns
null
|
Look
<
T
,
never
>
state
get
state
(
)
:
T
Returns
T
updated
Value
get
updatedValue
(
)
:
undefined
|
T
Returns
undefined
|
T
value
get
value
(
)
:
T
Returns
T
Methods
did
Set
Look
did
Set
Look
(
newLook
:
null
|
Look
<
T
,
never
>
, oldLook
:
null
|
Look
<
T
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
newLook:
null
|
Look
<
T
,
never
>
oldLook:
null
|
Look
<
T
,
never
>
timing:
boolean
|
Timing
Returns
void
did
Set
Precedence
did
Set
Precedence
(
newPrecedence
:
number
, oldPrecedence
:
number
)
:
void
Parameters
newPrecedence:
number
oldPrecedence:
number
Returns
void
Protected
did
Set
State
did
Set
State
(
newState
:
T
, oldState
:
T
)
:
void
Parameters
newState:
T
oldState:
T
Returns
void
did
Set
Value
did
Set
Value
(
newValue
:
T
, oldValue
:
T
)
:
void
Parameters
newValue:
T
oldValue:
T
Returns
void
did
Start
Animating
did
Start
Animating
(
)
:
void
Returns
void
did
Stop
Animating
did
Stop
Animating
(
)
:
void
Returns
void
equal
State
equal
State
(
newState
:
T
, oldState
:
undefined
|
T
)
:
boolean
Parameters
newState:
T
oldState:
undefined
|
T
Returns
boolean
get
State
get
State
(
)
:
NonNullable
<
T
>
Returns
NonNullable
<
T
>
get
State
Or
get
State
Or<E>
(
elseState
:
E
)
:
NonNullable
<
T
>
|
E
Type parameters
E
Parameters
elseState:
E
Returns
NonNullable
<
T
>
|
E
get
Value
get
Value
(
)
:
NonNullable
<
T
>
Returns
NonNullable
<
T
>
get
Value
Or
get
Value
Or<E>
(
elseValue
:
E
)
:
NonNullable
<
T
>
|
E
Type parameters
E
Parameters
elseValue:
E
Returns
NonNullable
<
T
>
|
E
is
Animating
is
Animating
(
)
:
boolean
Returns
boolean
is
Defined
is
Defined
(
value
:
T
)
:
boolean
Parameters
value:
T
Returns
boolean
is
Updated
is
Updated
(
)
:
boolean
Returns
boolean
on
Animate
on
Animate
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
on
Begin
on
Begin
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
on
End
on
End
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
on
Interrupt
on
Interrupt
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
on
Set
Look
on
Set
Look
(
newLook
:
null
|
Look
<
T
,
never
>
, oldLook
:
null
|
Look
<
T
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
newLook:
null
|
Look
<
T
,
never
>
oldLook:
null
|
Look
<
T
,
never
>
timing:
boolean
|
Timing
Returns
void
on
Set
Precedence
on
Set
Precedence
(
newPrecedence
:
number
, oldPrecedence
:
number
)
:
void
Parameters
newPrecedence:
number
oldPrecedence:
number
Returns
void
Protected
on
Set
State
on
Set
State
(
newState
:
T
, oldState
:
T
)
:
void
Parameters
newState:
T
oldState:
T
Returns
void
on
Set
Value
on
Set
Value
(
newValue
:
T
, oldValue
:
T
)
:
void
Parameters
newValue:
T
oldValue:
T
Returns
void
on
Start
Animating
on
Start
Animating
(
)
:
void
Returns
void
on
Stop
Animating
on
Stop
Animating
(
)
:
void
Returns
void
set
Animated
State
set
Animated
State
(
newState
:
T
, oldState
:
T
, timing
:
Timing
)
:
void
Parameters
newState:
T
oldState:
T
timing:
Timing
Returns
void
set
Animator
Flags
set
Animator
Flags
(
animatorFlags
:
number
)
:
void
Parameters
animatorFlags:
number
Returns
void
set
Immediate
State
set
Immediate
State
(
newState
:
T
, oldState
:
T
)
:
void
Parameters
newState:
T
oldState:
T
Returns
void
set
Intermediate
Value
set
Intermediate
Value
(
newValue
:
T
, newState
?:
T
)
:
void
Parameters
newValue:
T
Optional
newState:
T
Returns
void
set
Look
set
Look
(
newLook
:
null
|
Look
<
T
,
never
>
, precedenceOrTiming
:
undefined
|
number
|
boolean
|
AnyTiming
)
:
void
set
Look
(
newLook
:
null
|
Look
<
T
,
never
>
, timing
?:
boolean
|
AnyTiming
, precedence
?:
number
)
:
void
Parameters
newLook:
null
|
Look
<
T
,
never
>
precedenceOrTiming:
undefined
|
number
|
boolean
|
AnyTiming
Returns
void
Parameters
newLook:
null
|
Look
<
T
,
never
>
Optional
timing:
boolean
|
AnyTiming
Optional
precedence:
number
Returns
void
set
Own
Look
set
Own
Look
(
newLook
:
null
|
Look
<
T
,
never
>
, timing
?:
boolean
|
AnyTiming
)
:
void
Parameters
newLook:
null
|
Look
<
T
,
never
>
Optional
timing:
boolean
|
AnyTiming
Returns
void
set
Own
State
set
Own
State
(
newState
:
T
, timing
?:
boolean
|
AnyTiming
)
:
void
Parameters
newState:
T
Optional
timing:
boolean
|
AnyTiming
Returns
void
set
Precedence
set
Precedence
(
newPrecedence
:
number
)
:
void
Parameters
newPrecedence:
number
Returns
void
set
State
set
State
(
newState
:
T
, precedenceOrTiming
:
undefined
|
number
|
boolean
|
AnyTiming
)
:
void
set
State
(
newState
:
T
, timing
?:
boolean
|
AnyTiming
, precedence
?:
number
)
:
void
Parameters
newState:
T
precedenceOrTiming:
undefined
|
number
|
boolean
|
AnyTiming
Returns
void
Parameters
newState:
T
Optional
timing:
boolean
|
AnyTiming
Optional
precedence:
number
Returns
void
set
Value
set
Value
(
newValue
:
T
, oldValue
?:
T
)
:
void
Parameters
newValue:
T
Optional
oldValue:
T
Returns
void
Protected
start
Animating
start
Animating
(
)
:
void
Returns
void
Protected
stop
Animating
stop
Animating
(
)
:
void
Returns
void
take
Updated
Value
take
Updated
Value
(
)
:
undefined
|
T
Returns
undefined
|
T
take
Value
take
Value
(
)
:
T
Returns
T
takes
Precedence
takes
Precedence
(
precedence
:
number
)
:
boolean
Parameters
precedence:
number
Returns
boolean
will
Set
Look
will
Set
Look
(
newLook
:
null
|
Look
<
T
,
never
>
, oldLook
:
null
|
Look
<
T
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
newLook:
null
|
Look
<
T
,
never
>
oldLook:
null
|
Look
<
T
,
never
>
timing:
boolean
|
Timing
Returns
void
will
Set
Precedence
will
Set
Precedence
(
newPrecedence
:
number
, oldPrecedence
:
number
)
:
void
Parameters
newPrecedence:
number
oldPrecedence:
number
Returns
void
Protected
will
Set
State
will
Set
State
(
newState
:
T
, oldState
:
T
)
:
void
Parameters
newState:
T
oldState:
T
Returns
void
will
Set
Value
will
Set
Value
(
newValue
:
T
, oldValue
:
T
)
:
void
Parameters
newValue:
T
oldValue:
T
Returns
void
will
Start
Animating
will
Start
Animating
(
)
:
void
Returns
void
will
Stop
Animating
will
Stop
Animating
(
)
:
void
Returns
void
Modules
@swim/system
@swim/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Animator
constructor
animator
Flags
interpolator
own
Look
own
State
own
Value
precedence
timing
Animating
Flag
Animator
Flags
Shift
Constrained
Flag
Constraining
Flag
Diverged
Flag
Inherited
Flag
Interrupt
Flag
Mounted
Flag
Override
Flag
Updated
Flag
look
state
updated
Value
value
did
Set
Look
did
Set
Precedence
did
Set
State
did
Set
Value
did
Start
Animating
did
Stop
Animating
equal
State
get
State
get
State
Or
get
Value
get
Value
Or
is
Animating
is
Defined
is
Updated
on
Animate
on
Begin
on
End
on
Interrupt
on
Set
Look
on
Set
Precedence
on
Set
State
on
Set
Value
on
Start
Animating
on
Stop
Animating
set
Animated
State
set
Animator
Flags
set
Immediate
State
set
Intermediate
Value
set
Look
set
Own
Look
set
Own
State
set
Precedence
set
State
set
Value
start
Animating
stop
Animating
take
Updated
Value
take
Value
takes
Precedence
will
Set
Look
will
Set
Precedence
will
Set
State
will
Set
Value
will
Start
Animating
will
Stop
Animating
Generated using
TypeDoc