🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

dom-navigator

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-navigator

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

1.0.3
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

DOM Navigator

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

Installation

Bower

bower install dom-navigator --save

NPM

npm install dom-navigator --save

Manual

  • Download the latest release.
  • 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

  • Fork this respository.

  • 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>
    
  • Install development dependencies.

    npm install
    bower install
    
  • Code and be happy!

  • Test your code using QUnit grunt test.

  • Submit a pull request and grab popcorn.

Credits

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

Keywords

dom-navigator

FAQs

Package last updated on 28 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts