counters (object)

A map of options for the counters.

Possible values: an object, true or false.


Code example:

$("#my-menu").mmenu({
   counters: {
      add   : false,
      count : true
   }
});

counters.add (boolean)

Whether or not to automatically append a counter to each menu item that has a submenu.

Default value: false.

counters.count (boolean)

Whether or not to automatically count the number of items in the submenu.

Default value: true.