dragOpen (object)

A map of options for dragging the menu open.

Possible values: an object, true or false.


Code example:

$("#my-menu").mmenu({
   dragOpen   : {
      open       : true,
      threshold  : 100
   }
});

Note that this will only work if jQuery.hammer.js is included.


dragOpen.open (boolean)

Whether or not the menu should open when dragging the page.

Default value: false.

dragOpen.threshold (number)

The minimum amount of pixels to drag before actually opening the menu, less than 50 is not advised.

Default value: 50.