@ionic/core 7.5.1-dev.11697119260.14aa9ab3 → 7.5.1-dev.11697123035.1ee6b4a2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docs.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Animation } from
|
|
1
|
+
import type { Animation, AnimationBuilder } from "../../utils/animation/animation-interface";
|
|
2
2
|
export type Side = 'start' | 'end';
|
|
3
3
|
export interface MenuI {
|
|
4
4
|
el: HTMLIonMenuElement;
|
|
@@ -21,12 +21,23 @@ export interface MenuI {
|
|
|
21
21
|
_setOpen(shouldOpen: boolean, animated?: boolean): Promise<boolean>;
|
|
22
22
|
}
|
|
23
23
|
export interface MenuControllerI {
|
|
24
|
+
registerAnimation(name: string, animation: AnimationBuilder): void;
|
|
25
|
+
get(menu?: string | null, logOnMultipleSideMenus?: boolean): Promise<HTMLIonMenuElement | undefined>;
|
|
26
|
+
getMenus(): Promise<HTMLIonMenuElement[]>;
|
|
27
|
+
getOpen(): Promise<HTMLIonMenuElement | undefined>;
|
|
28
|
+
isEnabled(menu?: string | null): Promise<boolean>;
|
|
29
|
+
swipeGesture(shouldEnable: boolean, menu?: string | null): Promise<HTMLIonMenuElement | undefined>;
|
|
30
|
+
isAnimating(): Promise<boolean>;
|
|
31
|
+
isOpen(menu?: string | null): Promise<boolean>;
|
|
32
|
+
enable(shouldEnable: boolean, menu?: string | null): Promise<HTMLIonMenuElement | undefined>;
|
|
33
|
+
toggle(menu?: string | null): Promise<boolean>;
|
|
34
|
+
close(menu?: string | null): Promise<boolean>;
|
|
35
|
+
open(menu?: string | null): Promise<boolean>;
|
|
36
|
+
_getOpenSync(): HTMLIonMenuElement | undefined;
|
|
24
37
|
_createAnimation(type: string, menuCmp: MenuI): Promise<Animation>;
|
|
25
|
-
_setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean>;
|
|
26
38
|
_register(menu: MenuI): void;
|
|
27
39
|
_unregister(menu: MenuI): void;
|
|
28
|
-
|
|
29
|
-
getOpenSync(): HTMLIonMenuElement | undefined;
|
|
40
|
+
_setOpen(menu: MenuI, shouldOpen: boolean, animated: boolean): Promise<boolean>;
|
|
30
41
|
}
|
|
31
42
|
export interface MenuChangeEventDetail {
|
|
32
43
|
disabled: boolean;
|
|
@@ -1,21 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export declare const menuController: {
|
|
4
|
-
registerAnimation: (name: string, animation: AnimationBuilder) => void;
|
|
5
|
-
get: (menu?: string | null, logOnMultipleSideMenus?: boolean) => Promise<HTMLIonMenuElement | undefined>;
|
|
6
|
-
getMenus: () => Promise<HTMLIonMenuElement[]>;
|
|
7
|
-
getOpen: () => Promise<HTMLIonMenuElement | undefined>;
|
|
8
|
-
isEnabled: (menu?: string | null) => Promise<boolean>;
|
|
9
|
-
swipeGesture: (shouldEnable: boolean, menu?: string | null) => Promise<HTMLIonMenuElement | undefined>;
|
|
10
|
-
isAnimating: () => Promise<boolean>;
|
|
11
|
-
isOpen: (menu?: string | null) => Promise<boolean>;
|
|
12
|
-
enable: (shouldEnable: boolean, menu?: string | null) => Promise<HTMLIonMenuElement | undefined>;
|
|
13
|
-
toggle: (menu?: string | null) => Promise<boolean>;
|
|
14
|
-
close: (menu?: string | null) => Promise<boolean>;
|
|
15
|
-
open: (menu?: string | null) => Promise<boolean>;
|
|
16
|
-
_getOpenSync: () => HTMLIonMenuElement | undefined;
|
|
17
|
-
_createAnimation: (type: string, menuCmp: MenuI) => any;
|
|
18
|
-
_register: (menu: MenuI) => void;
|
|
19
|
-
_unregister: (menu: MenuI) => void;
|
|
20
|
-
_setOpen: (menu: MenuI, shouldOpen: boolean, animated: boolean) => Promise<boolean>;
|
|
21
|
-
};
|
|
1
|
+
import type { MenuControllerI } from '../../components/menu/menu-interface';
|
|
2
|
+
export declare const menuController: MenuControllerI;
|