html-oninput

1.0.1 • Public • Published

Html OnInput

Trigger the jquery change event on each input in a html input field.

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install html-oninput

This package is provided in ES6 module format.

Usage

When the user type in an input field, the jquery event change is triggered only when the focus is lost. This module trigger the change event on each key pressed.

To use it, just do :

import htmlOnInput from 'html-oninput';
htmlOnInput.init();

Dependencies

License

ISC

Package Sidebar

Install

npm i html-oninput

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

1.82 kB

Total Files

3

Last publish

Collaborators

  • mahdrentys