Socket
Socket
Sign inDemoInstall

angular-2-dropdown-multiselect

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-2-dropdown-multiselect - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "angular-2-dropdown-multiselect",
"version": "0.3.0",
"version": "0.3.1",
"description": "Customizable dropdown multiselect in Angular 2 with bootstrap css.",

@@ -5,0 +5,0 @@ "main": "src/multiselect-dropdown.ts",

@@ -32,2 +32,3 @@ /*

closeOnSelect?: boolean;
autoUnselect?: boolean;
showCheckAll?: boolean;

@@ -110,3 +111,3 @@ showUncheckAll?: boolean;

let parentFound = false;
while (target !== null && !parentFound) {
while (target != null && !parentFound) {
if (target === this.element.nativeElement) {

@@ -137,2 +138,3 @@ parentFound = true;

closeOnSelect: false,
autoUnselect: false,
showCheckAll: false,

@@ -208,4 +210,9 @@ showUncheckAll: false,

} else {
this.selectionLimitReached.emit(this.model.length);
return;
if (this.settings.autoUnselect) {
this.model.push(option.id)
this.model.shift();
} else {
this.selectionLimitReached.emit(this.model.length);
return;
}
}

@@ -212,0 +219,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