@philipibovo/ngx-alert-message
v0.0.8
Published
<p align="center"> <img src="https://ngx-alert-message.web.app/assets/thunbnail.png" alt="Logo ngx alert message" /> </p> <br>
Downloads
3
Readme
ngx-alert-message
ngx-alert-message provides an Angular API for simplified use of alerts on your website, completely customizable and easy to implement.
Getting Started
Start by installing the Angular Layout library from npm
npm install -save @philipibovo/ngx-alert-message
Next, you'll need to import the ngx-flexbox module in your module.
my-module.module.ts
import { NgxAlertMessageModule } from '@philipibovo/ngx-alert-message';
...
@NgModule({
...
imports: [ NgxAlertMessageModule ],
...
});
Now, in your component, you must import ngx-alert-message:
import { NgxAlertMessage } from '@philipibovo/ngx-alert-message';
...
constructor(private _ngxAlertMessage: NgxAlertMessage) { ... };
...
this._ngxAlertMessage.information('Message')
...
Check out all of the available options for using ngx-alert-message in your application.
Browser Support
License
The sources for this package are in the ngx-alert-message repository. Please file issues and pull requests against that repo.
License: MIT