Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NumberComponentProperty<C>

Type parameters

Hierarchy

  • ComponentProperty<C, number | null | undefined, number | string | null | undefined>
    • NumberComponentProperty

Callable

  • NumberComponentProperty(): undefined | null | number
  • NumberComponentProperty(state: undefined | null | string | number, precedence?: number): C
  • Returns undefined | null | number

  • Parameters

    • state: undefined | null | string | number
    • Optional precedence: number

    Returns C

Index

Constructors

constructor

  • Type parameters

    Parameters

    • owner: C
    • propertyName: undefined | string

    Returns NumberComponentProperty<C>

Properties

Readonly inherit

inherit: string | boolean

Readonly name

name: string

Readonly ownState

ownState: undefined | null | number

Readonly owner

owner: C

Readonly precedence

precedence: number

propertyFlags

propertyFlags: number

Readonly state

state: undefined | null | number

Readonly subProperties

subProperties: null | ComponentProperty<Component, undefined | null | number, never>[]

Readonly superName

superName: undefined | string

Readonly superProperty

superProperty: null | ComponentProperty<Component, undefined | null | number, never>

Readonly superState

superState: undefined | null | number

Optional updateFlags

updateFlags: number

Readonly updatedState

updatedState: undefined | null | number

Static InheritedFlag

InheritedFlag: number

Static MountedFlag

MountedFlag: number

Static OverrideFlag

OverrideFlag: number

Static UpdatedFlag

UpdatedFlag: number

Methods

addSubProperty

  • Parameters

    Returns void

bindSuperProperty

  • bindSuperProperty(): void
  • Returns void

didMount

  • didMount(): void
  • Returns void

didSetPrecedence

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

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

didSetState

  • didSetState(newState: undefined | null | number, oldState: undefined | null | number): void
  • Parameters

    • newState: undefined | null | number
    • oldState: undefined | null | number

    Returns void

didUnmount

  • didUnmount(): void
  • Returns void

fromAny

  • fromAny(value: undefined | null | string | number): undefined | null | number
  • Parameters

    • value: undefined | null | string | number

    Returns undefined | null | number

getState

  • getState(): number
  • Returns number

getStateOr

  • getStateOr<E>(elseState: E): number | E
  • Type parameters

    • E

    Parameters

    • elseState: E

    Returns number | E

isInherited

  • isInherited(): boolean
  • Returns boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

isUpdated

  • isUpdated(): boolean
  • Returns boolean

mount

  • mount(): void
  • Returns void

onMount

  • onMount(): void
  • Returns void

onRevise

  • onRevise(): void
  • Returns void

onReviseInherited

  • onReviseInherited(): void
  • Returns void

onSetPrecedence

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

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

onSetState

  • onSetState(newState: undefined | null | number, oldState: undefined | null | number): void
  • Parameters

    • newState: undefined | null | number
    • oldState: undefined | null | number

    Returns void

onUnmount

  • onUnmount(): void
  • Returns void

removeSubProperty

  • Parameters

    Returns void

revise

  • revise(): void
  • Returns void

setInherit

  • setInherit(inherit: string | boolean): void
  • Parameters

    • inherit: string | boolean

    Returns void

setInherited

  • setInherited(inherited: boolean): void
  • Parameters

    • inherited: boolean

    Returns void

setOwnState

  • setOwnState(state: undefined | null | string | number): void
  • Parameters

    • state: undefined | null | string | number

    Returns void

setPrecedence

  • setPrecedence(precedence: number): void
  • Parameters

    • precedence: number

    Returns void

setPropertyFlags

  • setPropertyFlags(propertyFlags: number): void
  • Parameters

    • propertyFlags: number

    Returns void

setState

  • setState(state: undefined | null | string | number, precedence?: number): void
  • Parameters

    • state: undefined | null | string | number
    • Optional precedence: number

    Returns void

takeState

  • takeState(): undefined | null | number
  • Returns undefined | null | number

takeUpdatedState

  • takeUpdatedState(): undefined | null | number
  • Returns undefined | null | number

takesPrecedence

  • takesPrecedence(precedence: number): boolean
  • Parameters

    • precedence: number

    Returns boolean

toString

  • toString(): string
  • Returns string

unbindSuperProperty

  • unbindSuperProperty(): void
  • Returns void

unmount

  • unmount(): void
  • Returns void

updateSubProperties

  • updateSubProperties(newState: undefined | null | number, oldState: undefined | null | number): void
  • Parameters

    • newState: undefined | null | number
    • oldState: undefined | null | number

    Returns void

willMount

  • willMount(): void
  • Returns void

willSetPrecedence

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

    • newPrecedence: number
    • oldPrecedence: number

    Returns void

willSetState

  • willSetState(newState: undefined | null | number, oldState: undefined | null | number): void
  • Parameters

    • newState: undefined | null | number
    • oldState: undefined | null | number

    Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Static define

Static getConstructor

  • Parameters

    • type: unknown

    Returns null | ComponentPropertyClass

Generated using TypeDoc