@ercos/components
TypeScript icon, indicating that this package has built-in type declarations

2.0.14 • Public • Published

Ercos Angular Components

Project must use Bootstrap v4.0.0+ and ReactiveFormsModule.

Import the module

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ErcosComponentsModule } from '@ercos/components';

@NgModule({
  imports: [BrowserModule, ErcosComponentsModule],
  bootstrap: [AppComponent],
})
export class AppModule {}

Available components

  • erc-back-button-title
  • erc-countries-modal
  • erc-date-input
  • erc-date-picker
  • erc-empty-dataset
  • erc-image-input
  • erc-loader
  • erc-multi-select
  • erc-multi-select-filter
  • erc-password-input
  • erc-phone-input
  • erc-radio-input
  • erc-search-input
  • erc-select-input
  • erc-single-checkbox-input (boolean)
  • erc-multiple-checkbox-input (array)
  • erc-submit-button
  • erc-text-input
  • erc-textarea-input
  • erc-dropzone-input

Ercos App Versioning Service

Import the module

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { ErcosAppVersioningModule } from '@ercos/components';

@NgModule({
  imports: [
    BrowserModule, 
    ErcosAppVersioningModule.forRoot({
      name: 'angular-libraries', // name of the app (will be used to retrieve the informations from the database)
      environment: 'dev', // running environment 'dev'|'stage'|'prod' (matches the firebase projects)
    })
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}

Readme

Keywords

none

Package Sidebar

Install

npm i @ercos/components

Weekly Downloads

6

Version

2.0.14

License

none

Unpacked Size

3.53 MB

Total Files

62

Last publish

Collaborators

  • tbornick