@sevenlure-vas/vasdatawarninglevel
TypeScript icon, indicating that this package has built-in type declarations

0.0.10 • Public • Published

vas-data-warning-level

build

LoopBack

Installation

Install VasDataWarningLevelComponent using npm;

$ npm install vas-data-warning-level

Basic Use

Configure and load VasDataWarningLevelComponent in the application constructor as shown below.

import {VasDataWarningLevelComponent, VasDataWarningLevelComponentOptions, DEFAULT_VAS_DATA_WARNING_LEVEL_OPTIONS} from 'vas-data-warning-level';
// ...
export class MyApplication extends BootMixin(ServiceMixin(RepositoryMixin(RestApplication))) {
  constructor(options: ApplicationConfig = {}) {
    const opts: VasDataWarningLevelComponentOptions = DEFAULT_VAS_DATA_WARNING_LEVEL_OPTIONS;
    this.configure(VasDataWarningLevelComponentBindings.COMPONENT).to(opts);
      // Put the configuration options here
    });
    this.component(VasDataWarningLevelComponent);
    // ...
  }
  // ...
}

Package Sidebar

Install

npm i @sevenlure-vas/vasdatawarninglevel

Weekly Downloads

2

Version

0.0.10

License

none

Unpacked Size

40.5 kB

Total Files

15

Last publish

Collaborators

  • cuonglph