Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransformAttributeAnimator<V>

Type parameters

Hierarchy

Callable

  • TransformAttributeAnimator(): null | Transform
  • TransformAttributeAnimator(newState: null | AnyTransform, precedenceOrTiming: undefined | number | boolean | AnyTiming): V
  • TransformAttributeAnimator(newState: null | AnyTransform, timing?: boolean | AnyTiming, precedence?: number): V
  • Returns null | Transform

  • Parameters

    Returns V

  • Parameters

    Returns V

Index

Constructors

constructor

  • Type parameters

    Parameters

    • owner: V
    • animatorName: string

    Returns TransformAttributeAnimator<V>

Properties

Readonly animatorFlags

animatorFlags: number

Readonly attributeName

attributeName: string

Readonly attributeValue

attributeValue: undefined | null | Transform

Readonly interpolator

interpolator: null | Interpolator<null | Transform>

Readonly name

name: string

Readonly node

node: Node

Readonly ownLook

ownLook: null | Look<null | Transform, never>

Readonly ownState

ownState: null | Transform

Readonly ownValue

ownValue: null | Transform

Readonly owner

owner: V

Readonly precedence

precedence: number

Readonly timing

timing: null | Timing

Optional updateFlags

updateFlags: number

Accessors

look

  • get look(): null | Look<T, never>
  • Returns null | Look<T, never>

state

  • get state(): T
  • Returns T

updatedValue

  • get updatedValue(): undefined | T
  • Returns undefined | T

value

  • get value(): T
  • Returns T

Methods

applyLook

  • Parameters

    Returns void

applyTheme

  • Parameters

    Returns void

didMount

  • didMount(): void
  • Returns void

didSetLook

  • Parameters

    Returns void

didSetPrecedence

  • didSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected didSetState

  • Parameters

    Returns void

didSetValue

  • Parameters

    Returns void

didStartAnimating

  • didStartAnimating(): void
  • Returns void

didStopAnimating

  • didStopAnimating(): void
  • Returns void

didUnmount

  • didUnmount(): void
  • Returns void

fromAny

  • Parameters

    Returns null | Transform

getState

  • Returns Transform

getStateOr

  • Type parameters

    • E

    Parameters

    • elseState: E

    Returns Transform | E

getValue

  • Returns Transform

getValueOr

  • Type parameters

    • E

    Parameters

    • elseValue: E

    Returns Transform | E

isAnimating

  • isAnimating(): boolean
  • Returns boolean

isDefined

  • isDefined(value: null | Transform): boolean
  • Parameters

    Returns boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

isUpdated

  • isUpdated(): boolean
  • Returns boolean

mount

  • mount(): void
  • Returns void

onAnimate

  • onAnimate(t: number): void
  • Parameters

    • t: number

    Returns void

onBegin

  • Parameters

    Returns void

onEnd

  • Parameters

    Returns void

onInterrupt

  • Parameters

    Returns void

onMount

  • onMount(): void
  • Returns void

onSetLook

  • Parameters

    Returns void

onSetPrecedence

  • onSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected onSetState

  • Parameters

    Returns void

onSetValue

  • Parameters

    Returns void

onStartAnimating

  • onStartAnimating(): void
  • Returns void

onStopAnimating

  • onStopAnimating(): void
  • Returns void

onUnmount

  • onUnmount(): void
  • Returns void

parse

  • Parameters

    • value: string

    Returns null | Transform

setAnimatedState

  • Parameters

    Returns void

setAnimatorFlags

  • setAnimatorFlags(animatorFlags: number): void
  • Parameters

    • animatorFlags: number

    Returns void

setImmediateState

  • Parameters

    Returns void

setIntermediateValue

  • Parameters

    Returns void

setLook

  • setLook(newLook: null | Look<null | Transform, never>, precedenceOrTiming: undefined | number | boolean | AnyTiming): void
  • setLook(newLook: null | Look<null | Transform, never>, timing?: boolean | AnyTiming, precedence?: number): void
  • Parameters

    Returns void

  • Parameters

    • newLook: null | Look<null | Transform, never>
    • Optional timing: boolean | AnyTiming
    • Optional precedence: number

    Returns void

setOwnLook

  • Parameters

    Returns void

setOwnState

  • Parameters

    Returns void

setPrecedence

  • setPrecedence(newPrecedence: number): void
  • Parameters

    • newPrecedence: number

    Returns void

setState

  • Parameters

    Returns void

  • Parameters

    Returns void

setValue

  • Parameters

    Returns void

Protected startAnimating

  • startAnimating(): void
  • Returns void

Protected stopAnimating

  • stopAnimating(): void
  • Returns void

takeUpdatedValue

  • takeUpdatedValue(): undefined | null | Transform
  • Returns undefined | null | Transform

takeValue

  • Returns null | Transform

takesPrecedence

  • takesPrecedence(precedence: number): boolean
  • Parameters

    • precedence: number

    Returns boolean

toString

  • toString(): string
  • Returns string

unmount

  • unmount(): void
  • Returns void

willMount

  • willMount(): void
  • Returns void

willSetLook

  • Parameters

    Returns void

willSetPrecedence

  • willSetPrecedence(newPrecedence: number, oldPrecedence: number): void
  • Parameters

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

Protected willSetState

  • Parameters

    Returns void

willSetValue

  • Parameters

    Returns void

willStartAnimating

  • willStartAnimating(): void
  • Returns void

willStopAnimating

  • willStopAnimating(): void
  • Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Static define

Static getClass

  • Parameters

    • type: unknown

    Returns null | AttributeAnimatorClass

Generated using TypeDoc