Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/n2ref/coreui-modal

CoreUI Modal
https://github.com/n2ref/coreui-modal

Last synced: 7 days ago
JSON representation

CoreUI Modal

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)