Interface WatchableInternal

Item with the ability to watch for changes on properties.

interface Watchable {
    watch(property, cb): WatchHandle;
}

Hierarchy (view full)

Methods

Methods

  • Function to watch for changes on a property.

    Parameters

    • property: string

      name of the property to watch

    • cb: WatchCallback<string, any>

      event handler executed on changes

    Returns WatchHandle

Generated using TypeDoc