Giter Club home page Giter Club logo

keynavigator's People

Contributors

nekman avatar

Watchers

 avatar  avatar

Forkers

alvarokore

keynavigator's Issues

need more document for control

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;

How to use "activateOn"?

For a simple "html" list, I would like to know how to add this function "activateOn", only when I click on another element, for example an input type="text", placed in other "div" container.

Thanks in advance...

Jumping between multiple containers

Hi!
Could you please tell me if there is any natural way to jump between elements in multiple containers ? I have a simple table and Bootstrap pagination here and I am curious if there is a way to make it work so when last table element is reached and I press 'next' button it will jump to pagination container and vice versa ? I've been fighting with it for a couple of hours and did not really achieve nothing interesting there. So is there some non-obtrusive way to make it happen or I would need to fork this and modify ?
Thanks

Better API

Fix the API with good names on settings, properties and methods. Update documentation.

Destroy metohd

how it could implement a destroy method? Because useCache = FALSE does not work

Don't remove previous events with off

By default, we select the active element by a click.
To avoid that multiple events gets registered, we are using:

// this.options.activateOn is by default: 'click'
this.$nodes.off(this.options.activateOn)
        .on(this.options.activateOn, function() {
          self.setActive($(this));
        });

This needs to be handled differently, so that we don't remove previous events (eg. click) that is already set by the user.

Upgrading keynavigator

Hi @nekman ,

I need your help for keynavigator
http://nekman.github.io/keynavigator/
(this is elegant solution)

I try to combine your script and my where i after row click automatically select html radio button in selected

`$('table#pos_god > tbody tr').keynavigator();

    $('#pos_god tr').click(function() {
        $(this).find('td input[type=radio]').prop('checked', true);
    });`

I need to have:

  • auto-focus on table load in first row
  • on key navigation to change radio button value for navigated row to checked/unchecked

Can give me some instruction for this ?

screenshot 24

Scroll page

Whether it is possible to scroll the page with the navigation on the table?

Enter key

How can I follow links with enter key could you give me an example.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.