0.0.9 • Published 5 years ago

permissions-lib v0.0.9

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

PermissionsLibraryApp

This project was generated with Angular CLI version 7.2.1.

Installation

npm i permissions-lib

Usage

<aax-permissions-lib [application]="'rplm'"
                     [environment]="'https://license.app/api/'"
                     (networkAccess)="accessingNetwork($event)">
</aax-permissions-lib>

application is automatically appended to API calls so the correct areas are drawn from license server.

environment specifies which url to use for API, e.g. https://license-api.app/api/ to access your locally hosted License API. **NOTE**: the url you provide must have a trailing slash (as per example)

networkAccess this is an output the emits an event of type boolean that indicates when the library is accessing the network, i.e. background activity is happening/stopped

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

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

Running unit tests

Run jest to execute the unit tests

0.0.9

5 years ago

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