Optional
asOptional
backdropOptional
classRegular HTML class names
Optional
closeIndicates if Modal should be closed when user clicks outside it's bounding box.
Optional
containerValid CSS selector targeting the current element's parent.
Optional
idif a value is provided, sparc will not use automatic UUID generation!
Optional
onFunction that is called when the modal closes
Optional
onFunction that is called when the modal opens
Optional
selectable
Indicates whether to blur and darken the parent element