ajax-input-validator

1.2.6 • Public • Published

ajax-input-validator

experimental

Developed for use in React html input's to watch for changes and AJAX run a validator

Usage

NPM

import AjaxInputValidator from 'ajax-input-validator';

let aiv = new AjaxInputValidator({time:2000, validate_func:validate_func});

<input onKeyUp={aiv.keyUp} onPaste={aiv.paste} onBlur={aiv.blur} />

License

MIT, see LICENSE.md for details.

HEALTH WARNING

The big fail is that the plugin is dumb by design and doesn't know what validation function is being executed, therefore I don't yet have a test I can run.

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i ajax-input-validator

    Weekly Downloads

    1

    Version

    1.2.6

    License

    MIT

    Last publish

    Collaborators

    • txm