Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avocode/react-tabguard

Limit tabbing within specified area with an ease
https://github.com/avocode/react-tabguard

Last synced: about 1 month ago
JSON representation

Limit tabbing within specified area with an ease

Awesome Lists containing this project

README

        

React TabGuard
=============

![React TabGuard example](https://cldup.com/T9a7pbSgTA.gif)

## Installation:

`npm install react-tabguard`

## Why?

There is no easy way to limit tabbing to a specified area inside your HMTL document. The typical use case where you want to restrict this behavior would be modal dialogs or lightboxes with forms. It’s not desirable to lose focus on the overlay window when tabbing, that's why we created React TabGuard to save the day.

## Usage:

```
'use strict';

let React = require('react');
let TabGuard = require('react-tabguard');

let App = React.createClass({
render: function() {
return (



Send

);
}
});

React.render(, document.getElementById('content'));
```