Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/dom
StyleContext
Interface StyleContext
Hierarchy
AnimationTimeline
ConstraintScope
StyleContext
Index
Properties
node
Methods
add
Constraint
add
Constraint
Variable
apply
Theme
constraint
constraint
Variable
get
Look
get
Look
Or
get
Style
get
Style
Animator
has
Constraint
has
Constraint
Variable
has
Style
Animator
is
Mounted
remove
Constraint
remove
Constraint
Variable
require
Update
set
Constraint
Variable
set
Style
set
Style
Animator
track
Did
Start
Animating
track
Did
Stop
Animating
track
Will
Start
Animating
track
Will
Stop
Animating
Properties
Readonly
node
node
:
null
|
Node
Methods
add
Constraint
add
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
add
Constraint
Variable
add
Constraint
Variable
(
variable
:
ConstraintVariable
)
:
void
Parameters
variable:
ConstraintVariable
Returns
void
apply
Theme
apply
Theme
(
theme
:
ThemeMatrix
, mood
:
MoodVector
<
Feel
>
, timing
?:
boolean
|
AnyTiming
)
:
void
Parameters
theme:
ThemeMatrix
mood:
MoodVector
<
Feel
>
Optional
timing:
boolean
|
AnyTiming
Returns
void
constraint
constraint
(
lhs
:
AnyConstraintExpression
, relation
:
ConstraintRelation
, rhs
?:
AnyConstraintExpression
, strength
?:
AnyConstraintStrength
)
:
Constraint
Parameters
lhs:
AnyConstraintExpression
relation:
ConstraintRelation
Optional
rhs:
AnyConstraintExpression
Optional
strength:
AnyConstraintStrength
Returns
Constraint
constraint
Variable
constraint
Variable
(
name
:
string
, value
?:
number
, strength
?:
AnyConstraintStrength
)
:
ConstraintBinding
Parameters
name:
string
Optional
value:
number
Optional
strength:
AnyConstraintStrength
Returns
ConstraintBinding
get
Look
get
Look<T>
(
look
:
Look
<
T
,
unknown
>
, mood
?:
null
|
MoodVector
<
Feel
>
)
:
undefined
|
T
Type parameters
T
Parameters
look:
Look
<
T
,
unknown
>
Optional
mood:
null
|
MoodVector
<
Feel
>
Returns
undefined
|
T
get
Look
Or
get
Look
Or<T, E>
(
look
:
Look
<
T
,
unknown
>
, elseValue
:
E
)
:
T
|
E
get
Look
Or<T, E>
(
look
:
Look
<
T
,
unknown
>
, mood
:
null
|
MoodVector
<
Feel
>
, elseValue
:
E
)
:
T
|
E
Type parameters
T
E
Parameters
look:
Look
<
T
,
unknown
>
elseValue:
E
Returns
T
|
E
Type parameters
T
E
Parameters
look:
Look
<
T
,
unknown
>
mood:
null
|
MoodVector
<
Feel
>
elseValue:
E
Returns
T
|
E
get
Style
get
Style
(
propertyNames
:
string
|
readonly
string
[]
)
:
undefined
|
string
|
CSSStyleValue
Parameters
propertyNames:
string
|
readonly
string
[]
Returns
undefined
|
string
|
CSSStyleValue
get
Style
Animator
get
Style
Animator
(
animatorName
:
string
)
:
null
|
StyleAnimator
<
StyleContext
,
unknown
,
never
>
Parameters
animatorName:
string
Returns
null
|
StyleAnimator
<
StyleContext
,
unknown
,
never
>
has
Constraint
has
Constraint
(
constraint
:
Constraint
)
:
boolean
Parameters
constraint:
Constraint
Returns
boolean
has
Constraint
Variable
has
Constraint
Variable
(
variable
:
ConstraintVariable
)
:
boolean
Parameters
variable:
ConstraintVariable
Returns
boolean
has
Style
Animator
has
Style
Animator
(
animatorName
:
string
)
:
boolean
Parameters
animatorName:
string
Returns
boolean
is
Mounted
is
Mounted
(
)
:
boolean
Returns
boolean
remove
Constraint
remove
Constraint
(
constraint
:
Constraint
)
:
void
Parameters
constraint:
Constraint
Returns
void
remove
Constraint
Variable
remove
Constraint
Variable
(
variable
:
ConstraintVariable
)
:
void
Parameters
variable:
ConstraintVariable
Returns
void
require
Update
require
Update
(
updateFlags
:
number
)
:
void
Parameters
updateFlags:
number
Returns
void
set
Constraint
Variable
set
Constraint
Variable
(
variable
:
ConstraintVariable
, state
:
number
)
:
void
Parameters
variable:
ConstraintVariable
state:
number
Returns
void
set
Style
set
Style
(
propertyName
:
string
, value
:
unknown
, priority
?:
string
)
:
StyleContext
Parameters
propertyName:
string
value:
unknown
Optional
priority:
string
Returns
StyleContext
set
Style
Animator
set
Style
Animator
(
animatorName
:
string
, animator
:
null
|
StyleAnimator
<
StyleContext
,
unknown
,
never
>
)
:
void
Parameters
animatorName:
string
animator:
null
|
StyleAnimator
<
StyleContext
,
unknown
,
never
>
Returns
void
track
Did
Start
Animating
track
Did
Start
Animating
(
track
:
AnimationTrack
)
:
void
Parameters
track:
AnimationTrack
Returns
void
track
Did
Stop
Animating
track
Did
Stop
Animating
(
track
:
AnimationTrack
)
:
void
Parameters
track:
AnimationTrack
Returns
void
track
Will
Start
Animating
track
Will
Start
Animating
(
track
:
AnimationTrack
)
:
void
Parameters
track:
AnimationTrack
Returns
void
track
Will
Stop
Animating
track
Will
Stop
Animating
(
track
:
AnimationTrack
)
:
void
Parameters
track:
AnimationTrack
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
Style
Context
node
add
Constraint
add
Constraint
Variable
apply
Theme
constraint
constraint
Variable
get
Look
get
Look
Or
get
Style
get
Style
Animator
has
Constraint
has
Constraint
Variable
has
Style
Animator
is
Mounted
remove
Constraint
remove
Constraint
Variable
require
Update
set
Constraint
Variable
set
Style
set
Style
Animator
track
Did
Start
Animating
track
Did
Stop
Animating
track
Will
Start
Animating
track
Will
Stop
Animating
Generated using
TypeDoc