Ibyar/Aurora
    Preparing search index...

    Interface ControlScope<T>

    used control/notify/pause scope about changes in current context

    interface ControlScope<T extends Context> {
        checkNoChanges(): void;
        detach(): void;
        emitChanges(propertyKey?: keyof T, propertyValue?: any): void;
        isAttached(): boolean;
        reattach(): void;
    }

    Type Parameters

    Implemented by

    Index
    • used when want to update ui-view like, you want to replace an array with another without reflect changes on view until reattached again.

      Returns void

    • apply changes now, will not effect the state of the detector wither if attached ot not.

      if a propertyKey is provided, will emit this property only

      Parameters

      • OptionalpropertyKey: keyof T
      • OptionalpropertyValue: any

      Returns void