kapela-modal
v0.0.3
Published
modal component
Downloads
5
Readme
About
This library contains component for modal
Install
$npm install kapela-modal
Usage
import
import { KapelaModalComponent } from 'kapela-modal';
@Component({
...
imports: [KapelaModalComponent],
...
})
dom
<kapela-modal> .... .... .... </kapela-modal>
Attributes
| Nom | Type | default | Comments |
| ------- | --------- | ------- | -------------------------------------------------------- |
| isShown | boolean
| false
| specified if the modal to be displayed by default or not |
| title | string
| | title of the form |
Events
| Name | Type | Comments |
| ---------- | ----------------------- | ------------------- |
| closeModal | EventEmitter<boolean>
| use to handle close |