Class MessagePopup

Hierarchy

  • MessagePopup

Properties

autoDestroy_: boolean
element_: JQuery<HTMLElement>

The element.

sce_: ISCEService
scope: IScope

The scope the compiled element is link to.

timeout_: ITimeoutService

Methods

  • Add an extra CSS class name to the popup.

    Parameters

    • cls: string

      Class name to add to the popup element.

    Returns void

  • Get the current popup state.

    Returns

    true if the popup is currently, otherwise false.

    Returns boolean

  • Set the popup's autoDestroy property.

    Parameters

    • autoDestroy: boolean

      Whether to automatically destroy the popup when being closed or not.

    Returns void

  • Set the popup's content. Note: the type of the content param is * instead of string, this is because the content may be trusted using $sce.trustAsHtml.

    Parameters

    • content: string

      The content.

    • Optional opt_trusted: boolean

      Whether the content can be trusted. Default is false.

    Returns void

  • Set the popup's height.

    Parameters

    • height: string

      Height the popup should have.

    Returns void

  • Show/hide the popup.

    Parameters

    • open: boolean

      true to show the popup, false to hide it.

    Returns void

  • Set the popup's width and height.

    Parameters

    • width: string

      Width the popup should have.

    • height: string

      Height the popup should have.

    Returns void

  • Set the popup's title.

    Parameters

    • title: string

      The title.

    Returns void

  • Set the popup's content with an iframe using the given url.

    Parameters

    • url: string

      The url of the page.

    Returns void

  • Set the popup's width.

    Parameters

    • width: string

      Width the popup should have.

    Returns void

Generated using TypeDoc