public onBlur(args){
(this.mulObj as any).viewWrapper.style.display = "none";
(this.mulObj as any).delimiterWrapper.style.display = "";
}
public onFocus(args){
(this.mulObj as any).delimiterWrapper.style.display = "none";
} |
ngOnInit(): void {
L10n.load({
"de": {
'dropdowns': {
'overflowCountTemplate': "+ ${count} Ärzte .."
}
}
});
} |
public onChange(args, multiselectObj){
setTimeout(function () {
if (multiselectObj.value.length === 2) {
if (multiselectObj.viewWrapper.querySelector('.e-remain'))
multiselectObj.viewWrapper.querySelector('.e-remain').innerHTML = "+1 Arzt.."
}
}, 10) |
<ejs-multiselect #sample id='sample-list1' [dataSource]='sportsData' [mode]='mode' [fields]='fields' [locale]='locale' [placeholder]='waterMark' (change)="onChange($event,sample)" [changeOnBlur]='false'></ejs-multiselect> |