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

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.2.3 to 0.3.0

2

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

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

# Angular 2 Dropdown Multiselect for Bootstrap CSS
Updated to work with RC6 !
Works with Angular Final and AOT compilation

@@ -25,3 +25,3 @@ Customizable dropdown multiselect in Angular 2, TypeScript with bootstrap css.

```js
import {MultiselectDropdownModule} from "angular-2-dropdown-multiselect/src/multiselect-dropdown";
import {MultiselectDropdownModule} from 'angular-2-dropdown-multiselect/src/multiselect-dropdown';

@@ -42,3 +42,3 @@ // ...

```js
import {IMultiSelectOption} from "angular-2-dropdown-multiselect/src/multiselect-dropdown";
import {IMultiSelectOption} from 'angular-2-dropdown-multiselect/src/multiselect-dropdown';

@@ -45,0 +45,0 @@ export class MyClass {

/*
* Angular 2 Dropdown Multiselect for Bootstrap
* Current version: 0.2.0
* Current version: 0.3.0
*

@@ -50,3 +50,3 @@ * Simon Lindh

})
class MultiSelectSearchFilter {
export class MultiSelectSearchFilter {
transform(options: Array<IMultiSelectOption>, args: string): Array<IMultiSelectOption> {

@@ -121,11 +121,11 @@ return options.filter((option: IMultiSelectOption) => option.name.toLowerCase().indexOf((args || '').toLowerCase()) > -1);

protected onModelChange: Function = (_: any) => {};
protected onModelTouched: Function = () => {};
protected model: number[];
protected title: string;
protected differ: any;
protected numSelected: number = 0;
protected isVisible: boolean = false;
protected searchFilterText: string = '';
protected defaultSettings: IMultiSelectSettings = {
onModelChange: Function = (_: any) => {};
onModelTouched: Function = () => {};
model: number[];
title: string;
differ: any;
numSelected: number = 0;
isVisible: boolean = false;
searchFilterText: string = '';
defaultSettings: IMultiSelectSettings = {
pullRight: false,

@@ -142,3 +142,3 @@ enableSearch: false,

};
protected defaultTexts: IMultiSelectTexts = {
defaultTexts: IMultiSelectTexts = {
checkAll: 'Check all',

@@ -153,4 +153,4 @@ uncheckAll: 'Uncheck all',

constructor(
protected element: ElementRef,
protected differs: IterableDiffers
private element: ElementRef,
private differs: IterableDiffers
) {

@@ -157,0 +157,0 @@ this.differ = differs.find([]).create(null);

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