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
LengthViewAnimatorConstraint
Class LengthViewAnimatorConstraint<V>
Type parameters
V
:
View
Hierarchy
ViewAnimatorConstraint
<
V
,
Length
|
null
|
undefined
,
AnyLength
|
null
|
undefined
>
LengthViewAnimatorConstraint
Callable
Length
View
Animator
Constraint
(
)
:
undefined
|
null
|
Length
Length
View
Animator
Constraint
(
newState
:
undefined
|
null
|
AnyLength
, precedenceOrTiming
:
undefined
|
number
|
boolean
|
AnyTiming
)
:
V
Length
View
Animator
Constraint
(
newState
:
undefined
|
null
|
AnyLength
, timing
?:
boolean
|
AnyTiming
, precedence
?:
number
)
:
V
Returns
undefined
|
null
|
Length
Parameters
newState:
undefined
|
null
|
AnyLength
precedenceOrTiming:
undefined
|
number
|
boolean
|
AnyTiming
Returns
V
Parameters
newState:
undefined
|
null
|
AnyLength
Optional
timing:
boolean
|
AnyTiming
Optional
precedence:
number
Returns
V
Index
Constructors
constructor
Properties
animator
Flags
coefficient
condition
Count
constant
id
inherit
interpolator
name
own
Look
own
State
own
Value
owner
precedence
strength
sub
Animators
super
Animator
super
Look
super
Name
super
State
super
Value
terms
timing
update
Flags
variable
Accessors
look
state
updated
Value
value
Methods
add
Constraint
Condition
add
Sub
Animator
apply
Look
apply
Theme
bind
Super
Animator
constrain
did
Mount
did
Set
Look
did
Set
Precedence
did
Set
State
did
Set
Value
did
Start
Animating
did
Start
Constraining
did
Stop
Animating
did
Stop
Constraining
did
Unmount
divide
evaluate
Constraint
Variable
from
Any
get
State
get
State
Or
get
Value
get
Value
Or
is
Animating
is
Constant
is
Constrained
is
Constraining
is
Defined
is
Dummy
is
External
is
Inherited
is
Invalid
is
Mounted
is
Updated
minus
mount
negative
on
Animate
on
Animate
Inherited
on
Begin
on
End
on
Interrupt
on
Mount
on
Set
Look
on
Set
Precedence
on
Set
State
on
Set
Value
on
Start
Animating
on
Start
Constraining
on
Stop
Animating
on
Stop
Constraining
on
Unmount
plus
remove
Constraint
Condition
remove
Sub
Animator
set
Animated
State
set
Animator
Flags
set
Immediate
State
set
Inherit
set
Inherited
set
Intermediate
Value
set
Look
set
Own
Look
set
Own
State
set
Precedence
set
State
set
Value
start
Animating
start
Constraining
stop
Animating
stop
Constraining
take
Updated
Value
take
Value
takes
Precedence
times
to
Number
to
String
unbind
Super
Animator
unmount
update
Constraint
Solution
update
Constraint
Variable
will
Mount
will
Set
Look
will
Set
Precedence
will
Set
State
will
Set
Value
will
Start
Animating
will
Start
Constraining
will
Stop
Animating
will
Stop
Constraining
will
Unmount
define
get
Class
Constructors
constructor
new
Length
View
Animator
Constraint<V>
(
owner
:
V
, animatorName
:
string
)
:
LengthViewAnimatorConstraint
<
V
>
Type parameters
V
:
View
<
V
>
Parameters
owner:
V
animatorName:
string
Returns
LengthViewAnimatorConstraint
<
V
>
Properties
Readonly
animator
Flags
animator
Flags
:
number
Readonly
coefficient
coefficient
:
number
Readonly
condition
Count
condition
Count
:
number
Readonly
constant
constant
:
number
Readonly
id
id
:
number
Readonly
inherit
inherit
:
string
|
boolean
Readonly
interpolator
interpolator
:
null
|
Interpolator
<
undefined
|
null
|
Length
>
Readonly
name
name
:
string
Readonly
own
Look
own
Look
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
Readonly
own
State
own
State
:
undefined
|
null
|
Length
Readonly
own
Value
own
Value
:
undefined
|
null
|
Length
Readonly
owner
owner
:
V
Readonly
precedence
precedence
:
number
Readonly
strength
strength
:
number
sub
Animators
sub
Animators
:
null
|
ViewAnimator
<
View
,
undefined
|
null
|
Length
,
never
>
[]
Readonly
super
Animator
super
Animator
:
null
|
ViewAnimator
<
View
,
undefined
|
null
|
Length
,
never
>
Readonly
super
Look
super
Look
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
Readonly
super
Name
super
Name
:
undefined
|
string
Readonly
super
State
super
State
:
undefined
|
null
|
Length
Readonly
super
Value
super
Value
:
undefined
|
null
|
Length
Readonly
terms
terms
:
ConstraintMap
<
ConstraintVariable
,
number
>
Readonly
timing
timing
:
null
|
Timing
Optional
update
Flags
update
Flags
:
number
Readonly
variable
variable
:
null
|
ConstraintVariable
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
add
Constraint
Condition
add
Constraint
Condition
(
constraint
:
Constraint
, solver
:
ConstraintSolver
)
:
void
Parameters
constraint:
Constraint
solver:
ConstraintSolver
Returns
void
add
Sub
Animator
add
Sub
Animator
(
subAnimator
:
ViewAnimator
<
View
,
undefined
|
null
|
Length
,
never
>
)
:
void
Parameters
subAnimator:
ViewAnimator
<
View
,
undefined
|
null
|
Length
,
never
>
Returns
void
apply
Look
apply
Look
(
look
:
Look
<
undefined
|
null
|
Length
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
look:
Look
<
undefined
|
null
|
Length
,
never
>
timing:
boolean
|
Timing
Returns
void
apply
Theme
apply
Theme
(
theme
:
ThemeMatrix
, mood
:
MoodVector
<
Feel
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
theme:
ThemeMatrix
mood:
MoodVector
<
Feel
>
timing:
boolean
|
Timing
Returns
void
bind
Super
Animator
bind
Super
Animator
(
)
:
void
Returns
void
constrain
constrain
(
constrained
?:
boolean
)
:
LengthViewAnimatorConstraint
<
V
>
Parameters
Optional
constrained:
boolean
Returns
LengthViewAnimatorConstraint
<
V
>
did
Mount
did
Mount
(
)
:
void
Returns
void
did
Set
Look
did
Set
Look
(
newLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, oldLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
newLook:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
oldLook:
null
|
Look
<
undefined
|
null
|
Length
,
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
:
undefined
|
null
|
Length
, oldState
:
undefined
|
null
|
Length
)
:
void
Parameters
newState:
undefined
|
null
|
Length
oldState:
undefined
|
null
|
Length
Returns
void
did
Set
Value
did
Set
Value
(
newValue
:
undefined
|
null
|
Length
, oldValue
:
undefined
|
null
|
Length
)
:
void
Parameters
newValue:
undefined
|
null
|
Length
oldValue:
undefined
|
null
|
Length
Returns
void
did
Start
Animating
did
Start
Animating
(
)
:
void
Returns
void
did
Start
Constraining
did
Start
Constraining
(
)
:
void
Returns
void
did
Stop
Animating
did
Stop
Animating
(
)
:
void
Returns
void
did
Stop
Constraining
did
Stop
Constraining
(
)
:
void
Returns
void
did
Unmount
did
Unmount
(
)
:
void
Returns
void
divide
divide
(
scalar
:
number
)
:
ConstraintExpression
Parameters
scalar:
number
Returns
ConstraintExpression
evaluate
Constraint
Variable
evaluate
Constraint
Variable
(
)
:
void
Returns
void
from
Any
from
Any
(
value
:
undefined
|
null
|
AnyLength
)
:
undefined
|
null
|
Length
Parameters
value:
undefined
|
null
|
AnyLength
Returns
undefined
|
null
|
Length
get
State
get
State
(
)
:
Length
Returns
Length
get
State
Or
get
State
Or<E>
(
elseState
:
E
)
:
Length
|
E
Type parameters
E
Parameters
elseState:
E
Returns
Length
|
E
get
Value
get
Value
(
)
:
Length
Returns
Length
get
Value
Or
get
Value
Or<E>
(
elseValue
:
E
)
:
Length
|
E
Type parameters
E
Parameters
elseValue:
E
Returns
Length
|
E
is
Animating
is
Animating
(
)
:
boolean
Returns
boolean
is
Constant
is
Constant
(
)
:
boolean
Returns
boolean
is
Constrained
is
Constrained
(
)
:
boolean
Returns
boolean
is
Constraining
is
Constraining
(
)
:
boolean
Returns
boolean
is
Defined
is
Defined
(
value
:
undefined
|
null
|
Length
)
:
boolean
Parameters
value:
undefined
|
null
|
Length
Returns
boolean
is
Dummy
is
Dummy
(
)
:
boolean
Returns
boolean
is
External
is
External
(
)
:
boolean
Returns
boolean
is
Inherited
is
Inherited
(
)
:
boolean
Returns
boolean
is
Invalid
is
Invalid
(
)
:
boolean
Returns
boolean
is
Mounted
is
Mounted
(
)
:
boolean
Returns
boolean
is
Updated
is
Updated
(
)
:
boolean
Returns
boolean
minus
minus
(
that
:
AnyConstraintExpression
)
:
ConstraintExpression
Parameters
that:
AnyConstraintExpression
Returns
ConstraintExpression
mount
mount
(
)
:
void
Returns
void
negative
negative
(
)
:
ConstraintTerm
Returns
ConstraintTerm
on
Animate
on
Animate
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
on
Animate
Inherited
on
Animate
Inherited
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
on
Begin
on
Begin
(
value
:
undefined
|
null
|
Length
)
:
void
Parameters
value:
undefined
|
null
|
Length
Returns
void
on
End
on
End
(
value
:
undefined
|
null
|
Length
)
:
void
Parameters
value:
undefined
|
null
|
Length
Returns
void
on
Interrupt
on
Interrupt
(
value
:
undefined
|
null
|
Length
)
:
void
Parameters
value:
undefined
|
null
|
Length
Returns
void
on
Mount
on
Mount
(
)
:
void
Returns
void
on
Set
Look
on
Set
Look
(
newLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, oldLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
newLook:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
oldLook:
null
|
Look
<
undefined
|
null
|
Length
,
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
:
undefined
|
null
|
Length
, oldState
:
undefined
|
null
|
Length
)
:
void
Parameters
newState:
undefined
|
null
|
Length
oldState:
undefined
|
null
|
Length
Returns
void
on
Set
Value
on
Set
Value
(
newValue
:
undefined
|
null
|
Length
, oldValue
:
undefined
|
null
|
Length
)
:
void
Parameters
newValue:
undefined
|
null
|
Length
oldValue:
undefined
|
null
|
Length
Returns
void
on
Start
Animating
on
Start
Animating
(
)
:
void
Returns
void
on
Start
Constraining
on
Start
Constraining
(
)
:
void
Returns
void
on
Stop
Animating
on
Stop
Animating
(
)
:
void
Returns
void
on
Stop
Constraining
on
Stop
Constraining
(
)
:
void
Returns
void
on
Unmount
on
Unmount
(
)
:
void
Returns
void
plus
plus
(
that
:
AnyConstraintExpression
)
:
ConstraintExpression
Parameters
that:
AnyConstraintExpression
Returns
ConstraintExpression
remove
Constraint
Condition
remove
Constraint
Condition
(
constraint
:
Constraint
, solver
:
ConstraintSolver
)
:
void
Parameters
constraint:
Constraint
solver:
ConstraintSolver
Returns
void
remove
Sub
Animator
remove
Sub
Animator
(
subAnimator
:
ViewAnimator
<
View
,
undefined
|
null
|
Length
,
never
>
)
:
void
Parameters
subAnimator:
ViewAnimator
<
View
,
undefined
|
null
|
Length
,
never
>
Returns
void
set
Animated
State
set
Animated
State
(
newState
:
undefined
|
null
|
Length
, oldState
:
undefined
|
null
|
Length
, timing
:
Timing
)
:
void
Parameters
newState:
undefined
|
null
|
Length
oldState:
undefined
|
null
|
Length
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
:
undefined
|
null
|
Length
, oldState
:
undefined
|
null
|
Length
)
:
void
Parameters
newState:
undefined
|
null
|
Length
oldState:
undefined
|
null
|
Length
Returns
void
set
Inherit
set
Inherit
(
inherit
:
string
|
boolean
)
:
void
Parameters
inherit:
string
|
boolean
Returns
void
set
Inherited
set
Inherited
(
inherited
:
boolean
)
:
void
Parameters
inherited:
boolean
Returns
void
set
Intermediate
Value
set
Intermediate
Value
(
newValue
:
undefined
|
null
|
Length
, newState
?:
null
|
Length
)
:
void
Parameters
newValue:
undefined
|
null
|
Length
Optional
newState:
null
|
Length
Returns
void
set
Look
set
Look
(
newLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, precedenceOrTiming
:
undefined
|
number
|
boolean
|
AnyTiming
)
:
void
set
Look
(
newLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, timing
?:
boolean
|
AnyTiming
, precedence
?:
number
)
:
void
Parameters
newLook:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
precedenceOrTiming:
undefined
|
number
|
boolean
|
AnyTiming
Returns
void
Parameters
newLook:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
Optional
timing:
boolean
|
AnyTiming
Optional
precedence:
number
Returns
void
set
Own
Look
set
Own
Look
(
newLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, timing
?:
boolean
|
AnyTiming
)
:
void
Parameters
newLook:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
Optional
timing:
boolean
|
AnyTiming
Returns
void
set
Own
State
set
Own
State
(
newState
:
undefined
|
null
|
AnyLength
, timing
?:
boolean
|
AnyTiming
)
:
void
Parameters
newState:
undefined
|
null
|
AnyLength
Optional
timing:
boolean
|
AnyTiming
Returns
void
set
Precedence
set
Precedence
(
newPrecedence
:
number
)
:
void
Parameters
newPrecedence:
number
Returns
void
set
State
set
State
(
newState
:
undefined
|
null
|
AnyLength
, precedenceOrTiming
:
undefined
|
number
|
boolean
|
AnyTiming
)
:
void
set
State
(
newState
:
undefined
|
null
|
AnyLength
, timing
?:
boolean
|
AnyTiming
, precedence
?:
number
)
:
void
Parameters
newState:
undefined
|
null
|
AnyLength
precedenceOrTiming:
undefined
|
number
|
boolean
|
AnyTiming
Returns
void
Parameters
newState:
undefined
|
null
|
AnyLength
Optional
timing:
boolean
|
AnyTiming
Optional
precedence:
number
Returns
void
set
Value
set
Value
(
newValue
:
undefined
|
null
|
Length
, oldValue
?:
null
|
Length
)
:
void
Parameters
newValue:
undefined
|
null
|
Length
Optional
oldValue:
null
|
Length
Returns
void
Protected
start
Animating
start
Animating
(
)
:
void
Returns
void
start
Constraining
start
Constraining
(
)
:
void
Returns
void
Protected
stop
Animating
stop
Animating
(
)
:
void
Returns
void
stop
Constraining
stop
Constraining
(
)
:
void
Returns
void
take
Updated
Value
take
Updated
Value
(
)
:
undefined
|
null
|
Length
Returns
undefined
|
null
|
Length
take
Value
take
Value
(
)
:
undefined
|
null
|
Length
Returns
undefined
|
null
|
Length
takes
Precedence
takes
Precedence
(
precedence
:
number
)
:
boolean
Parameters
precedence:
number
Returns
boolean
times
times
(
scalar
:
number
)
:
ConstraintExpression
Parameters
scalar:
number
Returns
ConstraintExpression
to
Number
to
Number
(
value
:
undefined
|
null
|
Length
)
:
number
Parameters
value:
undefined
|
null
|
Length
Returns
number
to
String
to
String
(
)
:
string
Returns
string
unbind
Super
Animator
unbind
Super
Animator
(
)
:
void
Returns
void
unmount
unmount
(
)
:
void
Returns
void
update
Constraint
Solution
update
Constraint
Solution
(
value
:
number
)
:
void
Parameters
value:
number
Returns
void
update
Constraint
Variable
update
Constraint
Variable
(
)
:
void
Returns
void
will
Mount
will
Mount
(
)
:
void
Returns
void
will
Set
Look
will
Set
Look
(
newLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, oldLook
:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
, timing
:
boolean
|
Timing
)
:
void
Parameters
newLook:
null
|
Look
<
undefined
|
null
|
Length
,
never
>
oldLook:
null
|
Look
<
undefined
|
null
|
Length
,
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
:
undefined
|
null
|
Length
, oldState
:
undefined
|
null
|
Length
)
:
void
Parameters
newState:
undefined
|
null
|
Length
oldState:
undefined
|
null
|
Length
Returns
void
will
Set
Value
will
Set
Value
(
newValue
:
undefined
|
null
|
Length
, oldValue
:
undefined
|
null
|
Length
)
:
void
Parameters
newValue:
undefined
|
null
|
Length
oldValue:
undefined
|
null
|
Length
Returns
void
will
Start
Animating
will
Start
Animating
(
)
:
void
Returns
void
will
Start
Constraining
will
Start
Constraining
(
)
:
void
Returns
void
will
Stop
Animating
will
Stop
Animating
(
)
:
void
Returns
void
will
Stop
Constraining
will
Stop
Constraining
(
)
:
void
Returns
void
will
Unmount
will
Unmount
(
)
:
void
Returns
void
Static
define
define<V_6, T_6, U_6, I_1>
(
descriptor
:
ViewAnimatorConstraintDescriptorExtends
<
V_6
,
T_6
,
U_6
,
I_1
>
)
:
ViewAnimatorConstraintConstructor
<
V_6
,
T_6
,
U_6
,
I_1
>
define<V_7, T_7, U_7>
(
descriptor
:
ViewAnimatorConstraintDescriptor
<
V_7
,
T_7
,
U_7
,
{}
>
)
:
ViewAnimatorConstraintConstructor
<
V_7
,
T_7
,
U_7
,
{}
>
Type parameters
V_6
:
View
<
V_6
>
T_6
U_6 =
never
I_1 =
{}
Parameters
descriptor:
ViewAnimatorConstraintDescriptorExtends
<
V_6
,
T_6
,
U_6
,
I_1
>
Returns
ViewAnimatorConstraintConstructor
<
V_6
,
T_6
,
U_6
,
I_1
>
Type parameters
V_7
:
View
<
V_7
>
T_7
U_7 =
never
Parameters
descriptor:
ViewAnimatorConstraintDescriptor
<
V_7
,
T_7
,
U_7
,
{}
>
Returns
ViewAnimatorConstraintConstructor
<
V_7
,
T_7
,
U_7
,
{}
>
Static
get
Class
get
Class
(
type
:
unknown
)
:
null
|
ViewAnimatorConstraintClass
Parameters
type:
unknown
Returns
null
|
ViewAnimatorConstraintClass
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
Length
View
Animator
Constraint
constructor
animator
Flags
coefficient
condition
Count
constant
id
inherit
interpolator
name
own
Look
own
State
own
Value
owner
precedence
strength
sub
Animators
super
Animator
super
Look
super
Name
super
State
super
Value
terms
timing
update
Flags
variable
look
state
updated
Value
value
add
Constraint
Condition
add
Sub
Animator
apply
Look
apply
Theme
bind
Super
Animator
constrain
did
Mount
did
Set
Look
did
Set
Precedence
did
Set
State
did
Set
Value
did
Start
Animating
did
Start
Constraining
did
Stop
Animating
did
Stop
Constraining
did
Unmount
divide
evaluate
Constraint
Variable
from
Any
get
State
get
State
Or
get
Value
get
Value
Or
is
Animating
is
Constant
is
Constrained
is
Constraining
is
Defined
is
Dummy
is
External
is
Inherited
is
Invalid
is
Mounted
is
Updated
minus
mount
negative
on
Animate
on
Animate
Inherited
on
Begin
on
End
on
Interrupt
on
Mount
on
Set
Look
on
Set
Precedence
on
Set
State
on
Set
Value
on
Start
Animating
on
Start
Constraining
on
Stop
Animating
on
Stop
Constraining
on
Unmount
plus
remove
Constraint
Condition
remove
Sub
Animator
set
Animated
State
set
Animator
Flags
set
Immediate
State
set
Inherit
set
Inherited
set
Intermediate
Value
set
Look
set
Own
Look
set
Own
State
set
Precedence
set
State
set
Value
start
Animating
start
Constraining
stop
Animating
stop
Constraining
take
Updated
Value
take
Value
takes
Precedence
times
to
Number
to
String
unbind
Super
Animator
unmount
update
Constraint
Solution
update
Constraint
Variable
will
Mount
will
Set
Look
will
Set
Precedence
will
Set
State
will
Set
Value
will
Start
Animating
will
Start
Constraining
will
Stop
Animating
will
Stop
Constraining
will
Unmount
define
get
Class
Generated using
TypeDoc