angular2-multiselect-dropdown
Advanced tools
Comparing version 1.0.4 to 1.1.0
{ | ||
"name": "angular2-multiselect-dropdown", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "angular-cli": {}, |
@@ -66,3 +66,4 @@ # Angular2 Multiselect Dropdown | ||
unSelectAllText:'UnSelect All', | ||
enableSearchFilter: true | ||
enableSearchFilter: true, | ||
classes:"myclass custom-class" | ||
}; | ||
@@ -111,2 +112,3 @@ } | ||
| badgeShowLimit | Number | Limit the number of badges/items to show in the input field. If not set will show all selected. | All | | ||
| classes | String | Custom classes to the dropdown component. Classes are added to the dropdown selector tag. To add multiple classes, the value should be space separated class names.| '' | | ||
@@ -113,0 +115,0 @@ ### Callback Methods |
@@ -20,2 +20,3 @@ import { Component, OnInit, NgModule, OnChanges, ViewEncapsulation,forwardRef, Input, Output, EventEmitter, ElementRef, AfterViewInit, Pipe, PipeTransform } from '@angular/core'; | ||
templateUrl: './multiselect.component.html', | ||
host: { '[class]' : 'defaultSettings.classes' }, | ||
styleUrls:['./multiselect.component.scss'], | ||
@@ -57,3 +58,4 @@ providers: [DROPDOWN_CONTROL_VALUE_ACCESSOR] | ||
maxHeight: 300, | ||
badgeShowLimit: 999999999999 | ||
badgeShowLimit: 999999999999, | ||
classes:'' | ||
} | ||
@@ -60,0 +62,0 @@ constructor(){ |
@@ -9,3 +9,4 @@ export interface DropdownSettings{ | ||
maxHeight: Number; | ||
badgeShowLimit: Number | ||
badgeShowLimit: Number; | ||
classes: String; | ||
} |
Sorry, the diff of this file is not supported yet
22070
232
133