Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextAnimator<T>

Type parameters

  • T

Hierarchy

Implements

Index

Constructors

constructor

  • new TextAnimator(target: Node, value?: T, transition?: Transition<T> | null, formatter?: function | object | null): TextAnimator

Properties

formatter

formatter: function | object | null

target

target: Node

Accessors

dirty

  • get dirty(): boolean

enabled

  • get enabled(): boolean

state

  • get state(): T | null | undefined

textValue

  • get textValue(): string | null

value

  • get value(): T | null | undefined

Methods

animate

  • animate(): void

bindInput

  • bindInput(input: Outlet<T> | null): void

bindOutput

  • bindOutput(output: Inlet<T>): void

cancel

  • cancel(): void

delete

  • delete(): void

Protected didInvalidate

  • didInvalidate(): void

Protected didReconcile

  • didReconcile(version: number): void

Protected didSetDirty

  • didSetDirty(dirty: boolean): void

Protected didSetEnabled

  • didSetEnabled(enabled: boolean): void

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

duration

  • duration(): number
  • duration(duration: number): this

ease

format

  • format(value: T): string

get

  • get(): T | undefined

input

interpolate

  • interpolate(u: number): T

interpolator

  • interpolator(): Interpolator<T> | null
  • interpolator(interpolator: Interpolator<T> | null): this
  • interpolator(a: T | null | undefined, b: T | null | undefined): this

invalidate

  • invalidate(): void

invalidateInput

  • invalidateInput(): void

invalidateOutput

  • invalidateOutput(): void

map

memoize

Protected onAnimationFrame

  • onAnimationFrame(timestamp: number): void

Protected onEnd

  • onEnd(value: T): void

onFrame

  • onFrame(t: number): void

Protected onInterrupt

  • onInterrupt(value: T): void

Protected onInvalidate

  • onInvalidate(): void

Protected onReconcile

  • onReconcile(version: number): void

Protected onStart

  • onStart(value: T): void

outputIterator

reconcile

  • reconcile(version: number): void

reconcileInput

  • reconcileInput(version: number): void

reconcileOutput

  • reconcileOutput(version: number): void

setDirty

  • setDirty(dirty: boolean): void

setEnabled

  • setEnabled(enabled: boolean): void

setState

  • setState(state: T | null | undefined, tween?: Tween<T>): void

transition

tween

  • tween(u: number): void

unbindInput

  • unbindInput(): void

unbindOutput

  • unbindOutput(output: Inlet<T>): void

unbindOutputs

  • unbindOutputs(): void

update

  • update(value: T): void

watch

Protected willInvalidate

  • willInvalidate(): void

Protected willReconcile

  • willReconcile(version: number): void