fix(input): add event emitters for blur and focus to the ion-input component

fixes #5487
This commit is contained in:
Brandy Carney
2016-03-16 12:46:27 -04:00
parent 904775430b
commit 3e88fe9f31
4 changed files with 56 additions and 10 deletions

View File

@ -33,6 +33,8 @@ export class InputBase {
@Input() clearInput;
@Input() placeholder: string = '';
@ViewChild(NativeInput) protected _native: NativeInput;
@Output() blur: EventEmitter<Event> = new EventEmitter;
@Output() focus: EventEmitter<Event> = new EventEmitter;
constructor(
config: Config,