Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StringComponentProperty<C>

Type parameters

Hierarchy

Callable

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

  • Parameters

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

    Returns C

Index

Constructors

constructor

  • Type parameters

    Parameters

    • owner: C
    • propertyName: undefined | string

    Returns StringComponentProperty<C>

Properties

Readonly inherit

inherit: string | boolean

Readonly name

name: string

Readonly ownState

ownState: undefined | null | string

Readonly owner

owner: C

Readonly precedence

precedence: number

propertyFlags

propertyFlags: number

Readonly state

state: undefined | null | string

Readonly subProperties

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

Readonly superName

superName: undefined | string

Readonly superProperty

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

Readonly superState

superState: undefined | null | string

Optional updateFlags

updateFlags: number

Readonly updatedState

updatedState: undefined | null | string

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 | string, oldState: undefined | null | string): void
  • Parameters

    • newState: undefined | null | string
    • oldState: undefined | null | string

    Returns void

didUnmount

  • didUnmount(): void
  • Returns void

fromAny

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

    • value: undefined | null | string

    Returns undefined | null | string

getState

  • getState(): string
  • Returns string

getStateOr

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

    • E

    Parameters

    • elseState: E

    Returns string | 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 | string, oldState: undefined | null | string): void
  • Parameters

    • newState: undefined | null | string
    • oldState: undefined | null | string

    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): void
  • Parameters

    • state: undefined | null | string

    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, precedence?: number): void
  • Parameters

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

    Returns void

takeState

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

takeUpdatedState

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

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 | string, oldState: undefined | null | string): void
  • Parameters

    • newState: undefined | null | string
    • oldState: undefined | null | string

    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 | string, oldState: undefined | null | string): void
  • Parameters

    • newState: undefined | null | string
    • oldState: undefined | null | string

    Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Static define

Static getConstructor

  • Parameters

    • type: unknown

    Returns null | ComponentPropertyClass

Generated using TypeDoc