feat(menu): configurable using menuType

fixes #14901
This commit is contained in:
Manu Mtz.-Almeida
2018-07-29 13:34:25 +02:00
parent 73a9f140ed
commit a62759c3cc

View File

@ -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;