From a62759c3cc096b64cbadbd063ddc767991efd8e5 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Sun, 29 Jul 2018 13:34:25 +0200 Subject: [PATCH] feat(menu): configurable using menuType fixes #14901 --- core/src/components/menu/menu.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/menu/menu.tsx b/core/src/components/menu/menu.tsx index 7048196b62..a1781d7a9e 100644 --- a/core/src/components/menu/menu.tsx +++ b/core/src/components/menu/menu.tsx @@ -120,7 +120,7 @@ export class Menu { async componentWillLoad() { if (this.type == null) { - this.type = this.mode === 'ios' ? 'reveal' : 'overlay'; + this.type = this.config.get('menuType', this.mode === 'ios' ? 'reveal' : 'overlay'); } if (this.isServer) { this.disabled = true;