... | @@ -41,12 +41,14 @@ There are options that can be set to override default behavior. Below are the d |
... | @@ -41,12 +41,14 @@ There are options that can be set to override default behavior. Below are the d |
|
|
|
|
|
``` javascript
|
|
``` javascript
|
|
{
|
|
{
|
|
backdrop: true, // If true, content behind the modal will be blurred.
|
|
backdrop: true, // If true, content behind the modal will be blurred.
|
|
closeDisabled: false, // The modal outlet has a close button by default, this can be disabled.
|
|
closeDisabled: false, // The modal outlet has a close button by default, this can be disabled.
|
|
height: '', // The height of the modal. Any CSS unit can be used here.
|
|
height: '', // The height of the modal. Any CSS unit can be used here.
|
|
width: '', // The width of the modal. Any CSS unit can be used here.
|
|
width: '', // The width of the modal. Any CSS unit can be used here.
|
|
position: null, // See position for how to configure this.
|
|
animation: 'scaleIn .6s', // Any keyframe animation
|
|
data: null, // Data accessible to this modal.
|
|
// scaleIn, slideInTop, slideInBottom, slideInRight, and slideInLeft are provided
|
|
|
|
position: null, // See position for how to configure this.
|
|
|
|
data: null, // Data accessible to this modal.
|
|
};
|
|
};
|
|
```
|
|
```
|
|
|
|
|
... | | ... | |