MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / swipeGesture

Function swipeGesture

core/src/utils/menu-controller/index.ts:50–56  ·  view source on GitHub ↗
(shouldEnable: boolean, menu?: string | null)

Source from the content-addressed store, hash-verified

48 };
49
50 const swipeGesture = async (shouldEnable: boolean, menu?: string | null): Promise<HTMLIonMenuElement | undefined> => {
51 const menuEl = await get(menu);
52 if (menuEl) {
53 menuEl.swipeGesture = shouldEnable;
54 }
55 return menuEl;
56 };
57
58 const isOpen = async (menu?: string | null): Promise<boolean> => {
59 if (menu != null) {

Callers

nothing calls this directly

Calls 1

getFunction · 0.70

Tested by

no test coverage detected