0.0.6 • Published 3 years ago

easy-notifications v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Example Usage

    <easy-notifications
          [updateNotificationStatus]="updateNotificationStatus"
          [numUnread]="numUnread"
          [notifications]="notification"
        ></easy-notifications>


    notification =  [
        { 
            "id": string, 
            "user_id": string,
            "owner_id": string,
            "owner_type": string,
            "message": string, 
            "has_seen": boolean, 
            "actionable": boolean
        }
    ]

    numUnread = 10

    updateNotificationStatus = action for click on notification

EasyNotifications

This library was generated with Angular CLI version 10.1.3.

Code scaffolding

Run ng generate component component-name --project easy-notifications to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project easy-notifications.

Note: Don't forget to add --project easy-notifications or else it will be added to the default project in your angular.json file.

Build

Run ng build easy-notifications to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build easy-notifications, go to the dist folder cd dist/easy-notifications and run npm publish.

Running unit tests

Run ng test easy-notifications to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

0.0.5

3 years ago

0.0.6

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago