1.1.6 • Published 3 years ago
angular-messaging-library v1.1.6
Angular Messaging Library
First crack at a library package...
It's a simple messaging library that you send messages too and it displays them on a component
In your component:
import { MessagingLibraryService } from 'angular-messaging-library';
...
constructor(private messageService: MessagingLibraryService) { }
...
this.messageService.addSuccessMessage('Message goes here');
Wherever you want the messages to be displayed, add the component
<lib-messaging-library></lib-messaging-library>
It's pretty basic but I use it in a few of my projects so it seemed a good project to create a library with.
Build
see Angular documentation
Running unit tests
ng test