Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ng2-tagsinput

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-tagsinput - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

lib/ng2-tagsinput.ts

@@ -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 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc