mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
style(lint): fix lint issues
This commit is contained in:
@ -223,7 +223,7 @@ export class Alert implements ComponentInterface, OverlayInterface {
|
|||||||
input.checked = input === selectedInput;
|
input.checked = input === selectedInput;
|
||||||
}
|
}
|
||||||
this.activeId = selectedInput.id;
|
this.activeId = selectedInput.id;
|
||||||
safeCall(selectedInput.handler, selectedInput)
|
safeCall(selectedInput.handler, selectedInput);
|
||||||
this.el.forceUpdate();
|
this.el.forceUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,7 +203,6 @@ const overlayAnimation = async (
|
|||||||
return hasCompleted;
|
return hasCompleted;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export const eventMethod = <T>(element: HTMLElement, eventName: string): Promise<T> => {
|
export const eventMethod = <T>(element: HTMLElement, eventName: string): Promise<T> => {
|
||||||
let resolve: (detail: T) => void;
|
let resolve: (detail: T) => void;
|
||||||
const promise = new Promise<T>(r => resolve = r);
|
const promise = new Promise<T>(r => resolve = r);
|
||||||
|
Reference in New Issue
Block a user