Back button introduction

To navigate through the menu by pressing the browser back button, include the "backButton" add-on .js file and use the backButton options.

   <script src="path/to/jquery.js"></script>
   <script src="path/to/jquery.mmenu.js"></script>
   <script src="path/to/jquery.mmenu.backbutton.js"></script>
   <link href="path/to/jquery.mmenu.css" rel="stylesheet" />
      $(document).ready(function() {
            backButton: {
               // backButton options

Options for the "backButton" add-on

Option Default value Datatype Description
backButton A map of options or true for backButton.close.
close false Boolean Whether or not to close a panel (or the menu) when pressing the browser back button.

Configuration for the "backButton" add-on

The "backButton" add-on has no configuration options.

API methods for the "backButton" add-on

The "backButton" add-on has no API methods.

SCSS variables for the "backButton" add-on

The "backButton" add-on has no SCSS variables.

Next add-on: