The changed args object which is emitted by an observable string.

interface IChangedArgs {
    end: number;
    start: number;
    type: IObservableString.ChangeType;
    value: string;
}

Properties

Properties

end: number

The end index of the change.

start: number

The starting index of the change.

The type of change undergone by the list.

value: string

The value of the change.

Notes

If ChangeType is set, then this is the new value of the string.

If ChangeType is insert this is the value of the inserted string.

If ChangeType is remove this is the value of the removed substring.