Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion components/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ export class SelectComponent implements OnInit {
@Output() public selected:EventEmitter<any> = new EventEmitter();
@Output() public removed:EventEmitter<any> = new EventEmitter();
@Output() public typed:EventEmitter<any> = new EventEmitter();
@Output() public opened:EventEmitter<any> = new EventEmitter();

public options:Array<SelectItem> = [];
public itemObjects:Array<SelectItem> = [];
Expand All @@ -303,8 +304,17 @@ export class SelectComponent implements OnInit {
return this._active;
}

private set optionsOpened(value:boolean){
this._optionsOpened = value;
this.opened.emit(value);
}

private get optionsOpened(): boolean{
return this._optionsOpened;
}

private inputMode:boolean = false;
private optionsOpened:boolean = false;
private _optionsOpened:boolean = false;
private behavior:OptionsBehavior;
private inputValue:string = '';
private _items:Array<any> = [];
Expand Down