Name | Type | Description |
---|---|---|
closeIconURL | string | Asset URL for the close icon |
closeOnBackdropClick | boolean | When set to true, closes the modal when user clicks on the backdrop element |
modalStyle | ModalStyle | Styling properties and values of the element |
Name | Description |
---|---|
width | Sets the width of the element |
height | Sets the height of the element |
border | Sets the border of the element |
borderRadius | Sets the border radius of the element |
background | Sets all background style properties at once, such as color, image, origin and size, or repeat method. Reference link |
boxShadow | Sets shadow effects around the element |
closeIconTint | Sets the tint or color applied to the close icon |
titleFont | Sets all the different properties of font for the heading text. Reference link |
titleColor | Sets the foreground color of heading text. |
Name | Description |
---|---|
cc-modal-close-clicked | Event triggered when user closes the modal element |