Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/view
TextAnimator
Class TextAnimator<T>
Type parameters
T
Hierarchy
TweenFrameAnimator
<
T
>
TextAnimator
Implements
Animated
Inoutlet
<
T
,
T
>
Index
Constructors
constructor
Properties
formatter
target
Accessors
dirty
enabled
state
text
Value
value
Methods
animate
bind
Input
bind
Output
cancel
delete
did
Invalidate
did
Reconcile
did
Set
Dirty
did
Set
Enabled
disconnect
Inputs
disconnect
Outputs
duration
ease
format
get
input
interpolate
interpolator
invalidate
invalidate
Input
invalidate
Output
map
memoize
on
Animation
Frame
on
End
on
Frame
on
Interrupt
on
Invalidate
on
Reconcile
on
Start
output
Iterator
reconcile
reconcile
Input
reconcile
Output
set
Dirty
set
Enabled
set
State
transition
tween
unbind
Input
unbind
Output
unbind
Outputs
update
watch
will
Invalidate
will
Reconcile
Constructors
constructor
new
Text
Animator
(
target
:
Node
, value
?:
T
, transition
?:
Transition
<
T
>
|
null
, formatter
?:
function
|
object
|
null
)
:
TextAnimator
Parameters
target:
Node
Optional
value:
T
Default value
transition:
Transition
<
T
>
|
null
= null
Default value
formatter:
function
|
object
|
null
= null
Returns
TextAnimator
Properties
formatter
formatter
:
function
|
object
|
null
target
target
:
Node
Accessors
dirty
get
dirty
(
)
:
boolean
Returns
boolean
enabled
get
enabled
(
)
:
boolean
Returns
boolean
state
get
state
(
)
:
T
|
null
|
undefined
Returns
T
|
null
|
undefined
text
Value
get
textValue
(
)
:
string
|
null
Returns
string
|
null
value
get
value
(
)
:
T
|
null
|
undefined
Returns
T
|
null
|
undefined
Methods
animate
animate
(
)
:
void
Returns
void
bind
Input
bind
Input
(
input
:
Outlet
<
T
>
|
null
)
:
void
Parameters
input:
Outlet
<
T
>
|
null
Returns
void
bind
Output
bind
Output
(
output
:
Inlet
<
T
>
)
:
void
Parameters
output:
Inlet
<
T
>
Returns
void
cancel
cancel
(
)
:
void
Returns
void
delete
delete
(
)
:
void
Returns
void
Protected
did
Invalidate
did
Invalidate
(
)
:
void
Returns
void
Protected
did
Reconcile
did
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
did
Set
Dirty
did
Set
Dirty
(
dirty
:
boolean
)
:
void
Parameters
dirty:
boolean
Returns
void
Protected
did
Set
Enabled
did
Set
Enabled
(
enabled
:
boolean
)
:
void
Parameters
enabled:
boolean
Returns
void
disconnect
Inputs
disconnect
Inputs
(
)
:
void
Returns
void
disconnect
Outputs
disconnect
Outputs
(
)
:
void
Returns
void
duration
duration
(
)
:
number
duration
(
duration
:
number
)
:
this
Returns
number
Parameters
duration:
number
Returns
this
ease
ease
(
)
:
Ease
ease
(
ease
:
AnyEase
)
:
this
Returns
Ease
Parameters
ease:
AnyEase
Returns
this
format
format
(
value
:
T
)
:
string
Parameters
value:
T
Returns
string
get
get
(
)
:
T
|
undefined
Returns
T
|
undefined
input
input
(
)
:
Outlet
<
T
>
|
null
Returns
Outlet
<
T
>
|
null
interpolate
interpolate
(
u
:
number
)
:
T
Parameters
u:
number
Returns
T
interpolator
interpolator
(
)
:
Interpolator
<
T
>
|
null
interpolator
(
interpolator
:
Interpolator
<
T
>
|
null
)
:
this
interpolator
(
a
:
T
|
null
|
undefined
, b
:
T
|
null
|
undefined
)
:
this
Returns
Interpolator
<
T
>
|
null
Parameters
interpolator:
Interpolator
<
T
>
|
null
Returns
this
Parameters
a:
T
|
null
|
undefined
b:
T
|
null
|
undefined
Returns
this
invalidate
invalidate
(
)
:
void
Returns
void
invalidate
Input
invalidate
Input
(
)
:
void
Returns
void
invalidate
Output
invalidate
Output
(
)
:
void
Returns
void
map
map<T2>
(
func
:
MapValueFunction
<
T
,
T2
>
)
:
Outlet
<
T2
>
Type parameters
T2
Parameters
func:
MapValueFunction
<
T
,
T2
>
Returns
Outlet
<
T2
>
memoize
memoize
(
)
:
Outlet
<
T
>
Returns
Outlet
<
T
>
Protected
on
Animation
Frame
on
Animation
Frame
(
timestamp
:
number
)
:
void
Parameters
timestamp:
number
Returns
void
Protected
on
End
on
End
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
on
Frame
on
Frame
(
t
:
number
)
:
void
Parameters
t:
number
Returns
void
Protected
on
Interrupt
on
Interrupt
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
Protected
on
Invalidate
on
Invalidate
(
)
:
void
Returns
void
Protected
on
Reconcile
on
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Protected
on
Start
on
Start
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
output
Iterator
output
Iterator
(
)
:
Iterator
<
Inlet
<
T
>
>
Returns
Iterator
<
Inlet
<
T
>
>
reconcile
reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
reconcile
Input
reconcile
Input
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
reconcile
Output
reconcile
Output
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
set
Dirty
set
Dirty
(
dirty
:
boolean
)
:
void
Parameters
dirty:
boolean
Returns
void
set
Enabled
set
Enabled
(
enabled
:
boolean
)
:
void
Parameters
enabled:
boolean
Returns
void
set
State
set
State
(
state
:
T
|
null
|
undefined
, tween
?:
Tween
<
T
>
)
:
void
Parameters
state:
T
|
null
|
undefined
Optional
tween:
Tween
<
T
>
Returns
void
transition
transition
(
)
:
Transition
<
T
>
transition
(
transition
:
AnyTransition
<
T
>
)
:
this
Returns
Transition
<
T
>
Parameters
transition:
AnyTransition
<
T
>
Returns
this
tween
tween
(
u
:
number
)
:
void
Parameters
u:
number
Returns
void
unbind
Input
unbind
Input
(
)
:
void
Returns
void
unbind
Output
unbind
Output
(
output
:
Inlet
<
T
>
)
:
void
Parameters
output:
Inlet
<
T
>
Returns
void
unbind
Outputs
unbind
Outputs
(
)
:
void
Returns
void
update
update
(
value
:
T
)
:
void
Parameters
value:
T
Returns
void
watch
watch
(
func
:
WatchValueFunction
<
T
>
)
:
this
Parameters
func:
WatchValueFunction
<
T
>
Returns
this
Protected
will
Invalidate
will
Invalidate
(
)
:
void
Returns
void
Protected
will
Reconcile
will
Reconcile
(
version
:
number
)
:
void
Parameters
version:
number
Returns
void
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/angle
@swim/animate
@swim/color
@swim/constraint
@swim/dom
@swim/font
@swim/gesture
@swim/interpolate
@swim/length
@swim/render
@swim/scale
@swim/shape
@swim/style
@swim/transform
@swim/transition
@swim/typeset
@swim/view
@swim/ux
@swim/web
Text
Animator
constructor
formatter
target
dirty
enabled
state
text
Value
value
animate
bind
Input
bind
Output
cancel
delete
did
Invalidate
did
Reconcile
did
Set
Dirty
did
Set
Enabled
disconnect
Inputs
disconnect
Outputs
duration
ease
format
get
input
interpolate
interpolator
invalidate
invalidate
Input
invalidate
Output
map
memoize
on
Animation
Frame
on
End
on
Frame
on
Interrupt
on
Invalidate
on
Reconcile
on
Start
output
Iterator
reconcile
reconcile
Input
reconcile
Output
set
Dirty
set
Enabled
set
State
transition
tween
unbind
Input
unbind
Output
unbind
Outputs
update
watch
will
Invalidate
will
Reconcile