0.0.8 • Published 6 years ago

entity-service v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

EntityLib1

This project was generated with Angular CLI version 1.6.3.

Dependencies

a. font-awesome(^4.7.0) b. bootstrap(^4.0.0-beta.2) c. angular-confirmation-popover(^4.1.0) d. ng2-toastr(^4.1.2)

Installation

After installing the above dependencies ,install entity-service via:

npm install --save entity-service

Once installed you need to import the following modules and classes : import { EntityServicesModule, AppSettings, AppRoutingModule,EntityConfigModule, EntityViewerModule,InputPropertyList } from 'entity-service';

Now list the imported modules in your application module

@NgModule({ imports:EntityServicesModule, AppSettings, AppRoutingModule, EntityConfigModule, EntityViewerModule ..., }) export class AppModule{ }

Steps to use the library

Tags: EntityConfigModule - EntityViewerModule - List of inputs - inputProperty : It includes the input parameters needed by the tags like access token or any environment URL.

Use: a. import the InputPropertyList class in the component where you want to use the tag: import { InputPropertyList } from 'entity-service'; b. Prepare a object/ JSON of type InputPropertyList which includes all the input parameters needed by the tags. c. The access token is required for the tag to be worked and is to be provided by the client-side, i.e the access token generation code must be included in the component.ts file of the respective component where tag is used. d. Use the tag in the component where required : eg. <app-entity-demo inputProperty="input_values">