Interface IObservableString

A string which can be observed for changes.

Hierarchy

Implemented by

Properties

A signal emitted when the string has changed.

isDisposed: boolean

Test whether the object has been disposed.

Notes

This property is always safe to access.

text: string

The value of the string.

type: "String"

The type of the Observable.

Methods

  • Set the ObservableString to an empty string.

    Returns void

  • Dispose of the resources held by the string.

    Returns void

  • Insert a substring.

    Parameters

    • index: number

      The starting index.

    • text: string

      The substring to insert.

    Returns void

  • Remove a substring.

    Parameters

    • start: number

      The starting index.

    • end: number

      The ending index.

    Returns void

Generated using TypeDoc