Options
All
  • Public
  • Public/Protected
  • All
Menu

A DynamicValue that holds a constant string value

Hierarchy

  • TextValue

Implements

Constructors

Properties

Methods

Constructors

constructor

  • new TextValue(text: string, name?: string): TextValue

Parameters

  • text: string
  • name: string Optional

Returns TextValue

Properties

__variant__

__variant__: string = "TextValue"

name

name: string | void

text

text: string

Methods

getValue

  • getValue(): Promise<string>

Returns Promise<string>

onValue

Parameters

Returns Unsubscriber

Static fromJSON

Parameters

  • json: object
    • Optional name?: string
    • text: string

Returns TextValue

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.