Notification

To use the notification component you need to load it on app.module.ts using forRoot():

import { TwNotificationModule } from 'ng-tw';

@NgModule({
    imports: [..., TwNotificationModule.forRoot()],
});

Demo

Basic usage

Info
Success
Warning
Danger

Usage

<button
    tw-button
    (click)="showNotification()"
>
    Show notification
</button>