Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ObservableValue

A concrete implementation of an IObservableValue.

Hierarchy

  • ObservableValue

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Constructor for the value.

    Parameters

    • Optional initialValue: JSONValue

    Returns ObservableValue

Properties

Private _changed

_changed: any

Private _isDisposed

_isDisposed: any

Private _value

_value: any

Accessors

changed

isDisposed

  • get isDisposed(): boolean
  • Whether the value has been disposed.

    Returns boolean

type

  • get type(): "Value"
  • The observable type.

    Returns "Value"

Methods

dispose

  • dispose(): void
  • Dispose of the resources held by the value.

    Returns void

get

  • get(): JSONValue
  • Get the current value, or undefined if it has not been set.

    Returns JSONValue

set

  • set(value: JSONValue): void
  • Set the current value.

    Parameters

    • value: JSONValue

    Returns void

Generated using TypeDoc