Skip to content

A responsive multi-level menu that shows its submenus in their own context, allowing for a space-saving presentation and usage.

Notifications You must be signed in to change notification settings

irwinalmeida/jquery-dlmenu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jquery-dlmenu

  1. Mark sub-menu elements with .dl-submenu
  2. Call dlmenu on any jQuery object

Options

  • selectors?: {}
  • backLabel?: string (default: "Back")
  • resetOnClose?: boolean (default: true) Hide submenus on close
  • animatedClasses?: {}
  • scrollBodyToClose?: boolean (default: true)
  • clickOutsideToClose?: boolean (default: true)
  • useActiveItemAsBackLabel?: boolean (default: false)
  • useActiveItemAsLink?: boolean (default: false)
  • onLevelClick?: ($menuItem, event) => void
  • onLinkClick?: ($menuItem, event) => void

Changelog

This fork contains the following changes:

  • Added scrollBodyToClose option (bad8ae2)

  • Added clickOutsideToClose option (bad8ae2)

  • Added selectors: {} option (86cb002)

    • menu (the root menu)
    • submenu (nested menus)
    • menuItem (menu contents)
    • trigger (menu toggle)
  • Default to no animations (8039429)

About

A responsive multi-level menu that shows its submenus in their own context, allowing for a space-saving presentation and usage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 64.4%
  • JavaScript 35.6%