Type for the styles property. Options for derived components will have to derive from the IPopupOptions interface and to implement the IPopupStyles interface for the styles property.
HTML element under which the <dialog>
element is created. If this property is undefined,
the <dialog>
element is created under the <body>
element. The default value is undefined.
Defines what CSS class to use for the <dialog>
element. If this property is defined,
the style property is ignored
Value that is returned when the user closes the popup by pressing the Escape key. If this property is undefined, the popup cannot be closed with the Escape key. Note that null is valid value that can be used to close a popup. The default value is undefined.
For modal popups, this property also controls whether the user can dismiss the popup by clicking on the backdrop - that is, the area outside of the popup itslef.
X-coordinate of the top-left corner of the dialog from the anchor element. If undefined, the dialog will be centered horizontally.
Y-coordinate of the top-left corner of the dialog from the anchor element. If undefined, the dialog will be centered vertically.
Defines what styles to use for the <dialog>
element and optionally for the ::backdrop
pseudo element. The value can be either a style definition class implementing the
IPopupStyles interface or an instance of such class. The popup activates the styles
when it opens and deactivates them when it closes. If this property is not defined, the
popup will use the default styles. The default value is undefined.
Generated using TypeDoc
The IPopupOptions interface represents the options that cofigure the behavior of the Popup object. They are passed in the constructor to the Popup class