Bootstrap modal component for Svelte
npm install sv-bootstrap-modalnpm install --save-dev sv-bootstrap-modal`$3
Bootstrap CSS needs to be present globally in project
Usage
$3
#### Example
`html
Modal title
Woohoo, you're reading this text in a modal!
`$3
Below are the classes which should be used to change the sizes of modal
|Small|Large|Extra large|
|---|---|---|
| .modal-sm | .modal-lg | .modal-xl |#### Example
`html
....
`$3
Add modal-dialog-centered to dialogClasses option#### Example
`html
....
`$3
Add modal-dialog-scrollable to dialogClasses option`html
....
`$3
|Name|Type|Default|Description|
|--- |--- |--- |--- |
|backdrop|boolean|true|Includes a modal-backdrop element.|
|ignoreBackdrop|boolean|true|It will ignore backdrop click close if true modal will not close on outside click|
|keyboard|boolean|true|Closes the modal when escape key is pressed|
|dialogClasses|string|""|You can add any number of classes to .modal-dialog` element|