Socket
Book a DemoInstallSign in
Socket

jquery.tabbable

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jquery.tabbable

Simple utility for selecting the next / previous 'tabbable' element. Includes and uses the ':tabbable' and ':focusable' selectors from jQuery UI Core.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
585
-46.87%
Maintainers
1
Weekly downloads
 
Created
Source

jQuery.tabbable

Simple utility for selecting the next / previous 'tabbable' element. Includes and uses the ':tabbable' and ':focusable' selectors from jQuery UI Core.

Demo

View the jsFiddle demo.

Methods

jQuery.tabbable adds the following methods.

// Focuses the next ':tabable' element.
jQuery.tabNext();

// Focuses the previous ':tabable' element.
jQuery.tabPrev();

// Focuses the previous ':focusable' element. 
// Elements which have a tabindex of '-1' are 'focusable', but not 'tabbable'.
jQuery.focusNext();

// Focuses the previous ':focusable' element.
// Elements which have a tabindex of '-1' are 'focusable', but not 'tabbable'.
jQuery.focusPrev();

Selectors

jQuery.tabbable adds following selectors (which come from jQuery UI Core):

// Select tabbable elements
$(':tabbable');

// Select focusable elements
$(':focusable');

Installation

  • bower install jQuery.tabbable --save or npm install jquery.tabbable --save
  • Include jquery.tabbable.min.js

Keywords

jQuery

FAQs

Package last updated on 23 Feb 2015

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