chore: sync

This commit is contained in:
Liam DeBeasi
2023-12-18 10:46:20 -05:00
382 changed files with 4167 additions and 861 deletions

View File

@ -1,6 +1,6 @@
import type { MenuControllerI } from '@ionic/core/components';
import type { MenuControllerI, AnimationBuilder, MenuI, Animation } from '@ionic/core/components';
export class MenuController {
export class MenuController implements MenuControllerI {
constructor(private menuController: MenuControllerI) {}
/**
@ -98,4 +98,32 @@ export class MenuController {
getMenus(): Promise<HTMLIonMenuElement[]> {
return this.menuController.getMenus();
}
registerAnimation(name: string, animation: AnimationBuilder): void {
return this.menuController.registerAnimation(name, animation);
}
isAnimating(): Promise<boolean> {
return this.menuController.isAnimating();
}
_getOpenSync(): HTMLIonMenuElement | undefined {
return this.menuController._getOpenSync();
}
_createAnimation(type: string, menuCmp: MenuI): Promise<Animation> {
return this.menuController._createAnimation(type, menuCmp);
}
_register(menu: MenuI): void {
return this.menuController._register(menu);
}
_unregister(menu: MenuI): void {
return this.menuController._unregister(menu);
}
_setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean> {
return this.menuController._setOpen(menu, shouldOpen, animated);
}
}