Interface: ExternalModalModel
ModalApi.ExternalModalModel
Description
Modal used to display content from any URL in an iFrame
Properties
Properties
closeAction
• Optional
closeAction: () => boolean
Type declaration
▸ (): boolean
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
• Optional
cssClass: string
CSS styling that is added to the iFrame
focusEls
• Optional
focusEls: Object
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: string
URL to load within the modal's iframe
width
• Optional
width: string
| number
Width of the modal