# revised-react-input-box-done-typing

> A React component that triggers a callback when the user has finished typing in the input text box

Latest version **2.2.1** (published 2016-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install revised-react-input-box-done-typing
pnpm add revised-react-input-box-done-typing
yarn add revised-react-input-box-done-typing
bun add revised-react-input-box-done-typing
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.2.1 |
| Published | 2016-12-16 |
| First published | 2016-12-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | Mattia Richetto |
| Maintainers | lshapz |
| Keywords | box, callback, component, debounce, delay, done, input, react, react-component, typing |

## Links

- npm: https://www.npmjs.com/package/revised-react-input-box-done-typing
- Repository: https://github.com/lshapz/react-input-box-done-typing
- Homepage: https://github.com/lshapz/react-input-box-done-typing#readme
- Issues: https://github.com/lshapz/react-input-box-done-typing/issues
- npm.io page: https://npm.io/package/revised-react-input-box-done-typing

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^15.3.2
- [react-dom](https://npm.io/package/react-dom.md) ^15.3.2

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 2.2.1 (latest) — 2016-12-16

## README

# react-input-box-done-typing

A React component that triggers a callback when the user has finished typing in the input text box

## Usage

Install via npm using the following npm command:

```shell
npm i -S react-input-box-done-typing
```

Include the component within your React application:

```javascript
import InputBoxDoneTyping from 'react-input-box-done-typing';
```

And use it inside your container:

```javascript
<InputBoxDoneTyping
  id="input-box-done-typing"
  className="form-control"
  placeholder="Start typing ..."
  maxLength={20}
  defaultValue="lon"
  autoComplete="on"
  onChange={(value) => { console.log('onChange:', value); } }
  doneTyping={(value) => { console.log('doneTyping:', value); } }
  doneTypingInterval={2000}
  />
```

## Attributes

Name | Type | Required | Default | Options
--- | --- | --- | --- | ---
`id` | `string` | no | - | -
`className` | `string` | no | - | -
`placeholder` | `string` | no | - | -
`maxLength` | `number` | no | - | -
`defaultValue` | `string` | no | - | -
`autoComplete` | `string` | no | on | ['on', 'off']
`onChange` | `function` | no | - | -
`doneTyping` | `function` | yes | - | -
`doneTypingInterval` | `number` | no | 500 (milliseconds) | -

## Demo

Clone or download this GitHub repository then run a live demo using the following npm commands:

```shell
npm i
npm run demo
```

The script will automatically open a tab of your default browser;
you will be able to see the **InputBoxDoneTyping** component in action

![alt text](demo.png "demo")

---
_Source: https://npm.io/package/revised-react-input-box-done-typing · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
