Class ContainerWindowAbstract

Represents a container window.

Hierarchy

Constructors

Properties

id: string
innerWindow: any

The underlying concrete container window.

name: string

Accessors

  • get nativeWindow(): Window
  • Gets the underlying native JavaScript window object. As some containers do not support native access, check for undefined.

    Returns Window

Methods

  • Try to close the window. This has the same effect as clicking the close button on the window.

    Returns Promise<void>

  • Parameters

    • enable: boolean
    • Optional options: any

    Returns Promise<void>

  • Gets a base64 encoded snapshot of the window.

    Returns Promise<string>

  • Retrieves custom window state from underlying native window by invoking 'window.getState()' if defined.

    Returns Promise<any>

  • Determines whether the window is currently showing.

    Returns Promise<boolean>

  • Navigate window to a new url

    Parameters

    • url: string
    • Optional options: any

    Returns Promise<void>

  • Provide custom window state to underlying native window by invoking 'window.setState()' if defined

    Parameters

    • state: any

    Returns Promise<void>