ng2-tagsinput
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -1,9 +0,8 @@ | ||
import {NgModule} from '@angular/core'; | ||
import {Ng2TagsInputItem} from './lib/ng2-tagsinput-item'; | ||
import {Ng2TagsInput} from "./lib/ng2-tagsinput"; | ||
import {Ng2TagsInputItem} from './lib/ng2-tagsinput-item'; | ||
@NgModule({ | ||
declarations: [Ng2TagsInput,Ng2TagsInputItem], | ||
exports: [Ng2TagsInput,Ng2TagsInputItem] | ||
}) | ||
export class Ng2TagsInputModule {} | ||
export const NG2_TAG_INPUT_COMPONENTS = [ | ||
Ng2TagsInputItem, | ||
Ng2TagsInput | ||
]; | ||
{ | ||
"name": "ng2-tagsinput", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Typescript component for Tag Input", | ||
@@ -5,0 +5,0 @@ "main": "ng2-tagsinput.js", |
@@ -34,3 +34,3 @@ # Angular 2 : Typescript component for Tags Input | ||
```typescript | ||
import {Ng2TagsInputModule} from 'ng2-tagsinput/ng2-tagsinput'; | ||
import {NG2_TAG_INPUT_COMPONENTS} from 'ng2-tagsinput/ng2-tagsinput'; | ||
``` | ||
@@ -41,3 +41,3 @@ | ||
@NgModule({ | ||
imports: [...,Ng2TagsInputModule] | ||
declarations: [...,NG2_TAG_INPUT_COMPONENTS] | ||
}) | ||
@@ -44,0 +44,0 @@ ... |
8390
181