@3kles/kles-material-dialog
v17.1.1
Published
@3kles/kles-material-dialog is a angular library to create dialog.
Downloads
300
Readme
@3kles/kles-material-dialog
@3kles/kles-material-dialog is a angular library to create dialog.
Changelog
Check out the changelog to check all the latest changes.
Models
Components
- AlertDialogComponent -> Component to create an alert dialog
- ConfirmDialogComponent -> Component to create a confirm dialog
- SpinnerDialogComponent -> Component to create a spinner dialog
- KlesDynamicFormDialogComponent -> Component to create a dialog with a form
Install
npm
npm install --save @3kles/kles-material-dialog
How to use
constructor(protected dialog: MatDialog) {}
open(): void {
this.dialog.open(DialogComponent, {
data: {
...
},
...
});
}
Check the documentation
to use component and directive.
Tests
npm install
npm test