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.2 to 0.2.3

2

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

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

@@ -22,7 +22,23 @@ # Angular 2 Dropdown Multiselect for Bootstrap CSS

Import `MultiselectDropdownModule` into your @NgModule.
Import `MultiselectDropdown` into your @NgModule.
```js
import { IMultiSelectOption } from 'multiselect-dropdown';
import {MultiselectDropdownModule} from "angular-2-dropdown-multiselect/src/multiselect-dropdown";
// ...
@NgModule({
// ...
imports: [
MultiselectDropdownModule,
// ...
]
})
```
Define options in your consuming component:
```js
import {IMultiSelectOption} from "angular-2-dropdown-multiselect/src/multiselect-dropdown";
export class MyClass {

@@ -29,0 +45,0 @@ private selectedOptions: number[];

@@ -107,3 +107,3 @@ /*

@HostListener('document: click', ['$event.target'])
onClick(target) {
onClick(target:HTMLElement) {
let parentFound = false;

@@ -110,0 +110,0 @@ while (target !== null && !parentFound) {

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