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
CssRule
Interface CssRule<V>
Type parameters
V
:
CssContext
Hierarchy
AnimationTrack
AnimationTimeline
ConstraintScope
CssRule
Index
Properties
animation
Tracks
name
owner
rule
Methods
add
Constraint
add
Constraint
Variable
apply
Theme
constraint
constraint
Variable
create
Rule
get
Look
get
Look
Or
has
Constraint
has
Constraint
Variable
init
Css
init
Rule
mount
on
Animate
remove
Constraint
remove
Constraint
Variable
set
Constraint
Variable
track
Did
Start
Animating
track
Did
Stop
Animating
track
Will
Start
Animating
track
Will
Stop
Animating
unmount
update
Animations
Properties
Readonly
animation
Tracks
animation
Tracks
:
readonly
AnimationTrack
[]
Readonly
name
name
:
undefined
|
string
Readonly
owner
owner
:
V
Readonly
rule
rule
:
CSSRule
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
create
Rule
create
Rule
(
cssText
?:
string
)
:
CSSRule
Parameters
Optional
cssText:
string
Returns
CSSRule
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
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
Optional
init
Css
init
Css
(
)
:
undefined
|
string
Returns
undefined
|
string
Optional
init
Rule
init
Rule
(
rule
:
CSSRule
)
:
CSSRule
Parameters
rule:
CSSRule
Returns
CSSRule
mount
mount
(
)
:
void
Returns
void
on
Animate
on
Animate
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
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
set
Constraint
Variable
set
Constraint
Variable
(
constraintVariable
:
ConstraintVariable
, state
:
number
)
:
void
Parameters
constraintVariable:
ConstraintVariable
state:
number
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
unmount
unmount
(
)
:
void
Returns
void
update
Animations
update
Animations
(
t
:
number
)
:
void
Parameters
t:
number
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
Rule
animation
Tracks
name
owner
rule
add
Constraint
add
Constraint
Variable
apply
Theme
constraint
constraint
Variable
create
Rule
get
Look
get
Look
Or
has
Constraint
has
Constraint
Variable
init
Css
init
Rule
mount
on
Animate
remove
Constraint
remove
Constraint
Variable
set
Constraint
Variable
track
Did
Start
Animating
track
Did
Stop
Animating
track
Will
Start
Animating
track
Will
Stop
Animating
unmount
update
Animations
Generated using
TypeDoc