From 1b9d61bfa89ac0d6a79fcc146ebdbf34f95c4976 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 2 Oct 2019 11:24:37 -0400 Subject: [PATCH] refactor(): remove deprecated swipeEnable (#19526) --- angular/src/providers/menu-controller.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/angular/src/providers/menu-controller.ts b/angular/src/providers/menu-controller.ts index 68f508fc15..f8bc60fc37 100644 --- a/angular/src/providers/menu-controller.ts +++ b/angular/src/providers/menu-controller.ts @@ -48,18 +48,6 @@ export class MenuController { return menuController.enable(shouldEnable, menuId); } - /** - * Used to enable or disable the ability to swipe open the menu. - * @param shouldEnable True if it should be swipe-able, false if not. - * @param [menuId] Optionally get the menu by its id, or side. - * @return Returns the instance of the menu, which is useful for chaining. - * @deprecated Use swipeGesture() instead. - */ - swipeEnable(shouldEnable: boolean, menuId?: string) { - console.warn('[DEPRECATED][ion-menu-controller] swipeEnable() is deprecated. Use MenuController.swipeGesture() instead'); - return this.swipeGesture(shouldEnable, menuId); - } - /** * Used to enable or disable the ability to swipe open the menu. * @param shouldEnable True if it should be swipe-able, false if not.