mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(input): add event emitters for blur and focus to the ion-input component
fixes #5487
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user