Interface IObservableString

A string which can be observed for changes.

interface IObservableString {
    changed: ISignal<IObservableString, IObservableString.IChangedArgs>;
    isDisposed: boolean;
    text: string;
    type: "String";
    clear(): void;
    dispose(): void;
    insert(index, text): void;
    remove(start, end): void;
}

Hierarchy (view full)

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