mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(input-shim): put an any on it
This commit is contained in:
@ -52,7 +52,7 @@ export class InputShims {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Listen('body:ionInputDidLoad')
|
@Listen('body:ionInputDidLoad')
|
||||||
protected onInputDidLoad(event: CustomEvent<HTMLElement>) {
|
protected onInputDidLoad(event: any) {
|
||||||
// TODO: remove if fixed: https://github.com/ionic-team/stencil/issues/576
|
// TODO: remove if fixed: https://github.com/ionic-team/stencil/issues/576
|
||||||
if (this.didLoad) {
|
if (this.didLoad) {
|
||||||
this.registerInput(event.detail);
|
this.registerInput(event.detail);
|
||||||
@ -60,7 +60,7 @@ export class InputShims {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Listen('body:ionInputDidUnload')
|
@Listen('body:ionInputDidUnload')
|
||||||
protected onInputDidUnload(event: CustomEvent<HTMLElement>) {
|
protected onInputDidUnload(event: any) {
|
||||||
// TODO: remove if fixed: https://github.com/ionic-team/stencil/issues/576
|
// TODO: remove if fixed: https://github.com/ionic-team/stencil/issues/576
|
||||||
if (this.didLoad) {
|
if (this.didLoad) {
|
||||||
this.unregisterInput(event.detail);
|
this.unregisterInput(event.detail);
|
||||||
|
|||||||
Reference in New Issue
Block a user