ng2-tagsinput
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -146,7 +146,6 @@ import {Component, HostBinding, Input, EventEmitter, Output} from '@angular/core'; | ||
if (!this.inputValue.length && this.tagsList.length) { | ||
if (this.selectedTag) { | ||
if (!this.selectedTag) { | ||
this.selectedTag = this.tagsList.length - 1; | ||
} else { | ||
this._removeTag(this.selectedTag); | ||
} | ||
} | ||
this._removeTag(this.selectedTag); | ||
} | ||
@@ -153,0 +152,0 @@ } |
@@ -1,1 +0,7 @@ | ||
export * from './lib/ng2-tagsinput'; | ||
import { NgModule } from '@angular/core'; | ||
import { Ng2TagsInput } from "./lib/ng2-tagsinput"; | ||
@NgModule({ | ||
declarations: [Ng2TagsInput], | ||
exports: [Ng2TagsInput] | ||
}) | ||
export class Ng2TagsInputModule {} |
{ | ||
"name": "ng2-tagsinput", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Typescript component for Tag Input", | ||
@@ -26,4 +26,4 @@ "main": "ng2-tagsinput.js", | ||
"dependencies": { | ||
"@angular/core": "^2.0.0-rc.5" | ||
"@angular/core": "^2.0.0-rc.6" | ||
} | ||
} |
@@ -31,6 +31,6 @@ # Angular 2 : Typescript component for Tags Input | ||
### Component | ||
### Module | ||
```typescript | ||
import {Ng2TagsInput} from 'ng2-tagsinput/ng2-tagsinput'; | ||
import {Ng2TagsInputModule} from 'ng2-tagsinput/ng2-tagsinput'; | ||
``` | ||
@@ -40,5 +40,5 @@ | ||
... | ||
@Component({ | ||
directives: [Ng2TagsInput] | ||
}) | ||
@NgModule({ | ||
imports: [...,Ng2TagsInputModule] | ||
}) | ||
... | ||
@@ -45,0 +45,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8473
184
Updated@angular/core@^2.0.0-rc.6