Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
MooTools plugin to turn groups of elements into keyboard navigable menu items
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Demo
Source
README.md
package.yml

README.md

Menuify

Menuify is a class that allows you to turn groups of elements into keyboard navigable menus. Automatically adds arrow key navigation and does not interfere with tabbing as usual, and allows for easy event binding to all menu items.

Screenshot

How to use

You can use Menuify to create a menu by doing the following:

var myMenu = new Menuify($$('#my-list li a'));

You can add events easily like so:

myMenu.addEvents({
    'focus': function(item){
        console.log(item + ' focused');
    },
    'blur': function(item){
        console.log(item + ' blurred');
    }
});
Something went wrong with that request. Please try again.