map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface WatchableInternal

    Item with the ability to watch for changes on properties.

    interface Watchable {
        watch(property: string, cb: WatchCallback<string, any>): WatchHandle;
    }

    Hierarchy (View Summary)

    Index

    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