Popup

Provides access to get all the information about the popup.

Available for

Model-driven apps

Properties

closeOnOutsideClick

Indicates whether popup close on an outside mouse click. When set to false, the popup will not be closed on an outside mouse click.

Type: boolean

content

Static DOM element to be inserted.

Type: HTMLElement

id

The id to be set to the anchor component if any.

Type: string

name

The name of the popup. Used as the reference to open popups.

Type: string

popupToOpen

The name of popup which should be opened.

Type: string

Remarks

Should be defined only in a root popup. To open nested popups, should be provided string like rootName.nestedName.[allOtherNestedNames]. To close popups, should be provided empty string. This property will be automatically propagated to children.

type

The type of popup, which is described in the enum PopupType. There should be only one root popup for each set of popups.

Type: enum

The type value is an enum with the following possible values

Value Member
1 Root
2 Nested

Remarks

Should be only one Root Popup for each set of Popups.

Power Apps component framework API reference
Power Apps component framework overview