Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PropertyAnimator<O, K>

Type parameters

  • O

  • K: keyof O

Hierarchy

Implements

Index

Constructors

constructor

Properties

key

key: K

target

target: O

Accessors

dirty

  • get dirty(): boolean

enabled

  • get enabled(): boolean

state

  • get state(): O[K] | null | undefined

value

  • get value(): O[K] | null | undefined

Methods

animate

  • animate(): void

bindInput

  • bindInput(input: Outlet<O[K]> | null): void

bindOutput

  • bindOutput(output: Inlet<O[K]>): 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

Protected didUpdate

  • didUpdate(newValue: O[K], oldValue: O[K]): void

disconnectInputs

  • disconnectInputs(): void

disconnectOutputs

  • disconnectOutputs(): void

duration

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

ease

get

  • get(): O[K] | undefined

input

  • input(): Outlet<O[K]> | null

interpolate

  • interpolate(u: number): O[K]

interpolator

  • interpolator(): Interpolator<O[K]> | null
  • interpolator(interpolator: Interpolator<O[K]> | null): this
  • interpolator(a: O[K] | null | undefined, b: O[K] | null | undefined): this

invalidate

  • invalidate(): void

invalidateInput

  • invalidateInput(): void

invalidateOutput

  • invalidateOutput(): void

map

memoize

Protected onAnimationFrame

  • onAnimationFrame(timestamp: number): void

Protected onEnd

  • onEnd(value: O[K]): void

onFrame

  • onFrame(t: number): void

Protected onInterrupt

  • onInterrupt(value: O[K]): void

Protected onInvalidate

  • onInvalidate(): void

Protected onReconcile

  • onReconcile(version: number): void

Protected onStart

  • onStart(value: O[K]): 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: O[K] | null | undefined, tween?: Tween<O[K]>): void

transition

tween

  • tween(u: number): void

unbindInput

  • unbindInput(): void

unbindOutput

  • unbindOutput(output: Inlet<O[K]>): void

unbindOutputs

  • unbindOutputs(): void

update

  • update(newValue: O[K], oldValue: O[K]): void

watch

Protected willInvalidate

  • willInvalidate(): void

Protected willReconcile

  • willReconcile(version: number): void

Protected willUpdate

  • willUpdate(newValue: O[K], oldValue: O[K]): void