Configuration introduction

Besides the options-object, there is a second object passed to the method used for overriding the default configuration options.

<script type="text/javascript">
   $(document).ready(function() {
      $("#my-menu").mmenu({
         // options
      }, {
         // configuration
      });
   });
</script>

Configuration options are less arbitrary than the options, changing them will probably affect the functionality.
If you're looking for the configuration for an add-on, check the add-ons pages.

Available configuration options

Option Default value Datatype Description
1 The value should match the associated CSS value.
className
{
divider "Divider" String The classname on a LI that should be displayed as a divider.
inset "Inset" String The classname on a submenu (a nested UL) that should be displayed as a default list.
panel "Panel" String The classname on an element (for example a DIV) that should be considered to be a panel.
selected "Selected" String The classname on the LI that should be displayed as selected.
vertical "Vertical" String The classname on a submenu (a nested UL) that should expand below their parent instead of slide in from the right.
}
clone false Boolean Whether or not the menu should be cloned (and the original menu kept intact).
openingInterval 25 Number The number of milliseconds between opening/closing the menu and panels, needed to force CSS transitions.
panelNodetype "div, ul, ol" String jQuery selector containing the node-type of panels.
transitionDuration 400 1 Number The number of milliseconds used in the CSS transitions.

Note that -although included and turned on by default- the "offCanvas" and "scrollBugFix" add-ons have their own set of configuration options, documented on the add-ons pages.