0.0.8 • Published 5 years ago

task-displayer v0.0.8

Weekly downloads
34
License
-
Repository
-
Last release
5 years ago

Task Displayer Library

This library was developed with angular v7 and material design and is only meant to work within our ecosystem.

How To Install

  1. run npm i task-displayer from your applications root

  2. import the library into the module you want to use it in using: import { DisplayModule } from 'task-displayer'; then add it to the the imports array of that modules @NgModule declaration.

  3. add the library into the html of the above modules component using the library html tag: <task-display [(guid)]="guid-of-task-to-display" [users]="list-of-valid-users" [loggedInUser]="current-logged-in-user" [url]="task-api-url" (update)="function-that-will-get-called-on-update"> </task-display>

The task displayer has attributes that allow it to work, ie: a. guid - this is the guid of the task that should be displayed b. users - a list off valid user objects that are received from aax c. loggedInUser - a user object of the current logged in user d. url - this is the url of the api that the library should communicate with e. update - this is an output event and will be called every time the task is updated, so that the front end task values can potentially be updated after the library has updated the task successfully.

*The first 4 attributes are important for the library to function.

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago