https://github.com/n2ref/coreui-modal
CoreUI Modal
https://github.com/n2ref/coreui-modal
Last synced: about 2 months ago
JSON representation
CoreUI Modal
- Host: GitHub
- URL: https://github.com/n2ref/coreui-modal
- Owner: n2ref
- License: mit
- Created: 2023-04-08T17:47:34.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-15T17:44:49.000Z (3 months ago)
- Last Synced: 2025-03-15T20:48:02.226Z (2 months ago)
- Language: JavaScript
- Homepage: https://n2ref.github.io/coreui-modal
- Size: 469 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CoreUI Modal
**[DEMO](https://n2ref.github.io/coreui-modal)**
### Install with NPM
`npm install coreui-modal`
### Example usage
```js
CoreUI.modal.show("Title modal", "Body content", {
footer: "Footer content",
onShow: function (event) {
console.log('Show');
},
onShown: function (event) {
console.log('Shown');
},
onHide: function (event) {
console.log('Hide');
},
onHidden: function (event) {
console.log('Hidden');
},
onHidePrevented: function (event) {
console.log('Hide prevented');
}
})```
