ngx-simple-dialog
An Angular 5+ powered AOT compatible device detector that helps to identify browser, os and other useful information regarding the device using the app. The processing is based on user-agent.
DOCS
Installation
To install this library, run:
$ npm install ngx-simple-dialog --save
Usage
Import SimpleDialogModule
in your app.module.ts
; ; ; ...
In your component where you want to use the Dialog Service
; ... ; // Your component that you want to use as a dialog ; ...
Dialog service
Holds the following properties
- browser
Helper Methods
- open() : The method of opening the modal window. As parameters it takes the component and the data, if needed, to transmit the dialog
- close() : Closes the modal window