JSPM

ie9-oninput-polyfill

1.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 164
  • Score
    100M100P100Q94945F
  • License MIT

Forces IE9 to trigger the INPUT event when the user deletes/cuts text from the input - making the event works as it should (and as it does in all the modern browsers)

Package Exports

  • ie9-oninput-polyfill

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ie9-oninput-polyfill) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

IE9 oninput (input event) polyfill

Forces IE9 to trigger the INPUT event when the user deletes/cuts text from the input - making the event works as it should (and as it does in all the modern browsers)

Usage

Insert the script anywhere in your webpage, and the input event will start working properly on IE9.

<script src="ie9-oninput-polyfill.js"></script>

You can even use the conditional tags:

<!--[if IE 9]><script src="ie9-oninput-polyfill.js"></script><![endif]-->

NPM

You can install it from NPM also:

npm install --save ie9-oninput-polyfill

Then, if using some bundler like webpack/browserify, you only need to import it:

require('ie9-oninput-polyfill');