ngex-dialog
v12.2.2
Published
This is a modal dialog service library for applications with Angular versions 8 - 12. The library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12. It still uses the ViewEngine, instead of Ivy Partial option for the buil
Downloads
12
Readme
ngex-dialog
This is a modal dialog service library for applications with Angular versions 8 - 12. The library was generated with Angular CLI version 12. It still uses the ViewEngine, instead of Ivy Partial option for the build due to some errors with the latter option.
Installation
Run npm install ngex-dialog
to add the library into your project directory, or add "ngex-dialog": "~12.2.2"
to the package.json file and then run npm install
to update the existing package.
Details and Use Cases
To see how to use the dialog in details, please go check out the article An Angular Modal Dialog with Advanced Functionality and Easy-use Features.
The sample applications with the article also include those that directly use the TypeScript code of the modules and components in the ngex-dialog directory.
Demo Application
The source code can be downloaded from the github repository.
Notes on Styles
The dialog depends on the bootstrap css library. The dialog supports the bootstrap.css versions 3.3.7 to 4.3.1. You can add the bootstrap
into your package.json file, for example "bootstrap": "4.3.1"
, and then update the node_modules
.
The ex-dialog.css file containing all base style settings for the dialog is not included in the installed library. You may need to have it under the app-bootstrap.css{version}/src/assets/css folder from the github repository. The icon images for the basic-type dialogs can also be downloaded there.