Skip to content

⚓️ JS library that allow keyboard navigation through DOM elements (←↑→↓).

License

Notifications You must be signed in to change notification settings

medixcare/dom-navigator

 
 

Repository files navigation

DOM Navigator

Library that allow keyboard navigation through DOM elements (←↑→↓).

![Gitter](https://badges.gitter.im/Join Chat.svg)

Installation

Bower

bower install dom-navigator --save

NPM

npm install dom-navigator --save

Manual

  1. Download the latest release.
  2. Then include dom-navigator-###.min.js into your HTML page.

Usage

Pure JavaScript

var el = document.querySelector('#grid');
new DomNavigator(el);

jQuery

If jQuery is included you can use the library as a jQuery plugin:

var el = $('#grid');
el.domNavigator();

Want to contribute?

All help are more than welcome!

Pre-requisites

Development Workflow

  1. Fork this respository.

  2. Clone your fork and create a feature branch from develop.

    git clone git@github.com:<your-username>/dom-navigator.git
    git fetch origin
    git checkout develop
    git checkout -b feature-<super-power>
    
  3. Install development dependencies.

    npm install
    bower install
    
  4. Code and be happy!

  5. Test your code using QUnit grunt test.

  6. Submit a pull request and grab popcorn.

Credits

dom-navigator was created by Rubens Mariuzzo with all the love in the world.

About

⚓️ JS library that allow keyboard navigation through DOM elements (←↑→↓).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 58.6%
  • HTML 41.0%
  • CSS 0.4%