Interface: ExternalModalModel
ModalApi.ExternalModalModel
Description
Modal used to display content from any URL in an iFrame
Properties
Properties
closeAction
Optional
closeAction: () => boolean
Type declaration
Specifies a function to perform further action after the user closes the modal. If this function returns true, the modal will close. If false, the modal will not close.
Returns
boolean
cssClass
CSS styling that is added to the iFrame
focusEls
Specifies an element to focus on
Type declaration
Name |
Type |
Description |
close?
|
HTMLElement
|
HTMLElement to focus on once the modal closes |
height
Optional
height: string
| number
Height of the modal
url
URL to load within the modal's iframe
width
Optional
width: string
| number
Width of the modal