mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
refactor(menu): gestureCtrl is a private property of menu
This commit is contained in:
@ -303,7 +303,7 @@ export class Menu {
|
||||
private _renderer: Renderer,
|
||||
private _keyboard: Keyboard,
|
||||
private _zone: NgZone,
|
||||
public gestureCtrl: GestureController
|
||||
private _gestureCtrl: GestureController
|
||||
) {}
|
||||
|
||||
/**
|
||||
@ -333,7 +333,7 @@ export class Menu {
|
||||
this.setElementAttribute('type', this.type);
|
||||
|
||||
// add the gestures
|
||||
this._cntGesture = new MenuContentGesture(this, document.body);
|
||||
this._cntGesture = new MenuContentGesture(this, this._gestureCtrl, document.body);
|
||||
|
||||
// register listeners if this menu is enabled
|
||||
// check if more than one menu is on the same side
|
||||
|
Reference in New Issue
Block a user