Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/n2ref/coreui-modal
CoreUI Modal
https://github.com/n2ref/coreui-modal
Last synced: 7 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-22T15:25:09.000Z (5 months ago)
- Last Synced: 2024-11-01T01:15:34.581Z (13 days ago)
- Language: JavaScript
- Homepage: https://n2ref.github.io/coreui-modal
- Size: 405 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');
}
})```
![Panel](https://raw.githubusercontent.com/n2ref/coreui-modal/main/preview.png)