at-toasty
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

AT-TOASTY

This is a Simple Toast Component.

Getting Started

Install at-toasty ,import the Module and you are good to go.

Installing

A step by step series of examples that tell you how to get a development env running

Run npm i at-toasty -S
Import ATToastModule.forRoot() in the App Module
Use Selector <at-toast></at-toast>
Inject ATToastService in the constructor and call method setMessage(message:string)

Example:
message:string;
constructor(private attoastService: ATToastService){
   this.attoastService.setMessage('Your message');
   this.message=this.attoastService.getMessage();
}

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Readme

Keywords

none

Package Sidebar

Install

npm i at-toasty

Weekly Downloads

2

Version

0.0.3

License

MIT

Unpacked Size

57.6 kB

Total Files

26

Last publish

Collaborators

  • ashish060792