RTL introduction

To add support for right-to-left languages, include the "rtl" add-on .js and .css files and use the rtl options.

<head>
   <script src="path/to/jquery.js"></script>
   <script src="path/to/jquery.mmenu.js"></script>
   <script src="path/to/jquery.mmenu.rtl.js"></script>
   <link href="path/to/jquery.mmenu.css" rel="stylesheet" />
   <link href="path/to/jquery.mmenu.rtl.css" rel="stylesheet" />
   <script>
      $(document).ready(function() {
         $("#my-menu").mmenu({
            rtl: {
               // rtl options
            }
         });
      });
   </script>

Options for the "rtl" add-on

Option Default value Datatype Description
rtl A map of options or true, false or "detect" for rtl.use.
{
use "detect" Boolean Whether or not to add support for a right-to-left language.
Set to "detect" to automatically detect a right-to-left language.
}

Configuration for the "rtl" add-on

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

API methods for the "rtl" add-on

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

SCSS variables for the "rtl" add-on

Variable Default value Datatype Description
Include CSS
$mm_opt_rtl true Boolean Whether or not to include CSS for the rtl add-on throughout the entire CSS framework.

Next add-on:
Searchfield