Class NestedPropertyListener

Only one method is for public use

See

listen

Constructors

Properties

_afterNotify: any
_beforeNotify: any
_propertiesSchedule: Map<any, any>
_suspended: number
_syncNotify: any
_thisRef: any
addSchedulePropertyCallback: any

Methods

  • This listens to an array of propertyPaths to a DAGM model.

    The callback argument has two arguments event from the DAGM propertyListener and a listenerReference. A listenerReference can be passes as a fourth argument to allow for property listeners to be nested.

    Parameters

    • elementShapeBind: any
    • paths: any
    • callback: any
    • listenerRefParent: any

    Returns any

    an unListen function that will unListen the property

    If a listenerReference is used then: . 1. If the listenerReference is changed then the currentBind will not be called and will become unbound. 2. if the listenerReference's unListen function is called then this will also be unListened.

    Note - The can be nested an arbitrary level.

  • Returns void

  • Parameters

    • listenerRef: any
    • event: any

    Returns void

  • Returns void