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
CssContext
Interface CssContext
Hierarchy
AnimationTimeline
ConstraintScope
CssContext
Index
Methods
add
Constraint
add
Constraint
Variable
constraint
constraint
Variable
get
Css
Rule
get
Look
get
Look
Or
get
Rule
has
Constraint
has
Constraint
Variable
has
Css
Rule
insert
Rule
remove
Constraint
remove
Constraint
Variable
remove
Rule
set
Constraint
Variable
set
Css
Rule
track
Did
Start
Animating
track
Did
Stop
Animating
track
Will
Start
Animating
track
Will
Stop
Animating
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
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
Css
Rule
get
Css
Rule
(
ruleName
:
string
)
:
null
|
CssRule
<
CssContext
>
Parameters
ruleName:
string
Returns
null
|
CssRule
<
CssContext
>
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
Rule
get
Rule
(
index
:
number
)
:
null
|
CSSRule
Parameters
index:
number
Returns
null
|
CSSRule
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
Css
Rule
has
Css
Rule
(
ruleName
:
string
)
:
boolean
Parameters
ruleName:
string
Returns
boolean
insert
Rule
insert
Rule
(
cssText
:
string
, index
?:
number
)
:
number
Parameters
cssText:
string
Optional
index:
number
Returns
number
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
remove
Rule
remove
Rule
(
index
:
number
)
:
void
Parameters
index:
number
Returns
void
set
Constraint
Variable
set
Constraint
Variable
(
variable
:
ConstraintVariable
, state
:
number
)
:
void
Parameters
variable:
ConstraintVariable
state:
number
Returns
void
set
Css
Rule
set
Css
Rule
(
ruleName
:
string
, cssRule
:
null
|
CssRule
<
CssContext
>
)
:
void
Parameters
ruleName:
string
cssRule:
null
|
CssRule
<
CssContext
>
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
Css
Context
add
Constraint
add
Constraint
Variable
constraint
constraint
Variable
get
Css
Rule
get
Look
get
Look
Or
get
Rule
has
Constraint
has
Constraint
Variable
has
Css
Rule
insert
Rule
remove
Constraint
remove
Constraint
Variable
remove
Rule
set
Constraint
Variable
set
Css
Rule
track
Did
Start
Animating
track
Did
Stop
Animating
track
Will
Start
Animating
track
Will
Stop
Animating
Generated using
TypeDoc