Hierarchy

  • ContainerWindow
    • ElectronContainerWindow

Constructors

Properties

innerWindow: any

The underlying concrete container window.

Accessors

  • set ipc(value: MessageBus): void
  • Set message bus used for static event broadcasting across windows.

    Parameters

    • value: MessageBus

    Returns void

Methods

  • Registers an event listener on the specified event.

    Parameters

    • eventName: WindowEventType

      {WindowEventType} eventName The type of the event.

    • listener: ((event: EventArgs) => void)

      {(event: EventArgs) => void} The event handler function.

        • (event: EventArgs): void
        • Parameters

          • event: EventArgs

          Returns void

    Returns ElectronContainerWindow

  • Parameters

    • eventName: string
    • listener: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns void

  • Parameters

    • eventName: string
    • listener: ((...args: any[]) => void)
        • (...args: any[]): void
        • Parameters

          • Rest ...args: any[]

          Returns void

    Returns void

  • Invokes each listener registered for the specified event type.

    Parameters

    • eventName: string

      The type of the event.

    • eventArgs: EventArgs

    Returns void

  • Parameters

    • enable: boolean
    • Optional options: any

    Returns Promise<void>

  • Parameters

    • target: ContainerWindow

    Returns Promise<void>

  • Gets an array of listeners for a specific event type.

    Parameters

    • eventName: string

      eventName The type of the event.

    Returns ((event: EventArgs) => void)[]

  • Parameters

    • url: string
    • Optional options: any

    Returns Promise<void>

  • Parameters

    • args: EventArgs

    Returns void

  • Parameters

    • args: EventArgs

    Returns void

  • Parameters

    • eventName: string
    • listener: ((event: EventArgs) => void)
        • (event: EventArgs): void
        • Parameters

          • event: EventArgs

          Returns void

    Returns ((event: EventArgs) => void)

      • (event: EventArgs): void
      • Parameters

        • event: EventArgs

        Returns void

  • Removes a previous registered event listener from the specified event.

    Parameters

    • eventName: WindowEventType

      {WindowEventType} eventName The type of the event.

    • listener: ((event: EventArgs) => void)

      {(event: EventArgs) => void} The event handler function.

        • (event: EventArgs): void
        • Parameters

          • event: EventArgs

          Returns void

    Returns ElectronContainerWindow

  • Parameters

    • parent: ContainerWindow

    Returns Promise<void>

  • Parameters

    • listener: ((event: EventArgs) => void)
        • (event: EventArgs): void
        • Parameters

          • event: EventArgs

          Returns void

    Returns ((event: EventArgs) => void)

      • (event: EventArgs): void
      • Parameters

        • event: EventArgs

        Returns void

  • Parameters

    • eventName: string
    • listener: ((event: EventArgs) => void)
        • (event: EventArgs): void
        • Parameters

          • event: EventArgs

          Returns void

    Returns ((event: EventArgs) => void)

      • (event: EventArgs): void
      • Parameters

        • event: EventArgs

        Returns void

  • Parameters

    • eventName: WindowEventType
    • listener: ((event: WindowEventArgs | WindowGroupEventArgs) => void)
        • (event: WindowEventArgs | WindowGroupEventArgs): void
        • Parameters

          • event: WindowEventArgs | WindowGroupEventArgs

          Returns void

    Returns void

  • Parameters

    • eventName: WindowEventType
    • eventArgs: WindowEventArgs | WindowGroupEventArgs

    Returns void

  • Parameters

    • eventName: string

    Returns ((event: EventArgs) => void)[]

  • Parameters

    • eventName: WindowEventType
    • listener: ((event: WindowEventArgs | WindowGroupEventArgs) => void)
        • (event: WindowEventArgs | WindowGroupEventArgs): void
        • Parameters

          • event: WindowEventArgs | WindowGroupEventArgs

          Returns void

    Returns void