Documentation
    Preparing search index...

    Interface WmHostHooks

    Notification-only hooks invoked by WmService on window/workspace lifecycle. Shells implement these; no-op implementations are acceptable.

    interface WmHostHooks {
        onWindowCreated(id: string, rect: Rect): void;
        onWindowDestroyed(id: string): void;
        onWindowMoved(id: string, from: Rect, to: Rect): void;
        selectLayout(strategyName: string): void;
    }
    Index

    Methods

    • Parameters

      • id: string
      • rect: Rect

      Returns void

    • Parameters

      • id: string

      Returns void

    • Notified when a layout strategy is selected (consumer-defined name).

      Parameters

      • strategyName: string

      Returns void