Interface ObservableChangeEvent<T, V>

An event passed to listeners that are observing changes to a set of named values, such as DocumentMetadata.

Type parameters

  • T

    The type of the target of the event.

  • V

    The type of the value that is changing.

Hierarchy

  • Event<T>
    • ObservableChangeEvent

Index

Properties

Readonly key

key: string

The name of the value that has changed.

Readonly newValue

newValue: V

The new value of the key, or null if it is being removed.

Readonly oldValue

oldValue: V

The previous value of the key, or null if it is being newly added.

Readonly target

target: T

The event source.

Readonly type

type: "change"

The event type.

This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.