mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
refactor(all): componentOnReady is part of the types
This commit is contained in:
@ -31,7 +31,7 @@ export class PopoverController implements FrameworkDelegate {
|
||||
|
||||
dismiss(data?: any, role?: string, id?: number) {
|
||||
const popoverController = document.querySelector('ion-popover-controller');
|
||||
return (popoverController as any).componentOnReady().then(() => {
|
||||
return popoverController.componentOnReady().then(() => {
|
||||
return popoverController.dismiss(data, role, id);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user