nekman / keynavigator

Keynavigation plugin for jQuery/Zepto.
http://nekman.github.io/keynavigator/
0 stars 1 forks source link

need more document for control #13

Open vegalou opened 8 years ago

vegalou commented 8 years ago

if it possible to call function to control keynavigator move?

ex:

    var $mOtt = $('ul#example1 li').keynavigator({
            keys: {
                w: 'up',
                a: 'left',
                s: 'down',
                d: 'right',
                enter: function($el) {
                  console.log('pressed enter on', $el.text());
                }
            }
    });

I could walk arrow keys in the area, but could I call direction move by another js funciton?

like: $mOtt.keynavigator.right;