Skip to content

Commit

Permalink
feat(menu): configurable using menuType
Browse files Browse the repository at this point in the history
fixes #14901
  • Loading branch information
manucorporat committed Jul 29, 2018
1 parent 73a9f14 commit a62759c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/menu/menu.tsx
Expand Up @@ -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;
Expand Down

0 comments on commit a62759c

Please sign in to comment.