Interface: ExternalModalModel

ModalApi.ExternalModalModel

Description

Modal used to display content from any URL in an iFrame

Properties

Properties

closeAction

  • OptionalcloseAction: () => 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

  • OptionalcssClass: string

CSS styling that is added to the iFrame

focusEls

  • OptionalfocusEls: Object

Specifies an element to focus on

Type declaration

Name Type Description
close? HTMLElement HTMLElement to focus on once the modal closes

height

  • Optionalheight: string | number

Height of the modal

url

  • url: string

URL to load within the modal's iframe

width

  • Optionalwidth: string | number

Width of the modal