Components.ModalDialog Class
Internal component for modal's markup and event handling. Should not be used directly.
Item Index
Properties
backdropClose boolean
publicIf true clicking on the backdrop will close the modal.
Default: true
body boolean
publicGenerate a modal body component automatically. Set to false to disable. In this case you would want to include an instance of Components.ModalBody in the components block template.
Always set this to false if header
and/or footer
is false!
Default: true
closeButton boolean
publicDisplay a close button (x icon) in the corner of the modal header.
Default: true
fade boolean
publicSet to false to disable fade animations.
Default: true
header boolean
publicGenerate a modal header component automatically. Set to false to disable. In this case you would want to include an instance of Components.ModalHeader in the components block template
Default: true
in boolean
privateUsed to apply Bootstrap's "in" class
Default: false
keyboard boolean
publicCloses the modal when escape key is pressed.
Default: true
size String
publicProperty for size styling, set to null (default), 'lg' or 'sm'
Also see the Bootstrap docs
sizeClass string
privateName of the size class
title string
publicThe title of the modal, visible in the modal header. Is ignored if header
is false.