@iomechs/angular-tags-input
TypeScript icon, indicating that this package has built-in type declarations

0.1.12 • Public • Published

AngularTagsInput (@iomechs/angular-tags-input)

A simple tags input library for Angular. Supports nested elements and a lot of flexibility to the developers. (README to be updated)

Usage

Install the package in your project's folder by using npm or yarn:

npm install @iomechs/angular-tags-input --save
# OR
yarn add @iomechs/angular-tags-input -S

Import AngularTagsInputModule in your AppModule as below:

import { AngularTagsInputModule } from '@iomechs/angular-tags-input';

@NgModule({
  declarations: [
    AppComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserAnimationsModule,
    AngularTagsInputModule, // <-- here
  ]
});

Then in your HTML, you can use as:

  <ti-angular-tags-input
    formControlName="locations" [tagsData]="(data$ | async)"
    (valueChanged)="onTagInputValueChange($event)"
    [config]="tagsInputConfig">
  </ti-angular-tags-input>

Readme

Keywords

none

Package Sidebar

Install

npm i @iomechs/angular-tags-input

Weekly Downloads

8

Version

0.1.12

License

none

Unpacked Size

943 kB

Total Files

51

Last publish

Collaborators

  • ahsanayaz
  • siraj.haq