mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(input): change next input imports
This commit is contained in:
@ -142,3 +142,21 @@ function removeClone(focusedInputEle, queryCssClass) {
|
||||
clonedInputEle.parentNode.removeChild(clonedInputEle);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
@Directive({
|
||||
selector: '[next-input]'
|
||||
})
|
||||
export class NextInput {
|
||||
@Output() focused: EventEmitter<boolean> = new EventEmitter();
|
||||
|
||||
@HostListener('focus')
|
||||
receivedFocus() {
|
||||
this.focused.emit(true);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user