Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IDialog

The IPopup interface represents a popup from the point of view of the content. This interface is published as a service and can be used by the content components to close the popup.

Hierarchy

Implemented by

Index

Properties

Methods

Properties

Readonly buttonCount

buttonCount: number

Returns the number of buttons in the button bar

Methods

addButton

  • Adds a button to the button bar

    Parameters

    Returns void

close

  • close(returnValue?: any): void
  • Closes the popup and passes a value to be used as a return value. For the modal popups, this value will be the resolved value of the promise returned by the showModal() method. For modeless popups, this value will be available as the returnValue property.

    Parameters

    • Optional returnValue: any

    Returns void

Generated using TypeDoc