Open vegalou opened 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;
if it possible to call function to control keynavigator move?
ex:
I could walk arrow keys in the area, but could I call direction move by another js funciton?
like: $mOtt.keynavigator.right;