html5-simple-date-input-polyfill

1.1.0 • Public • Published

html5-simple-date-input-polyfill

Just include this simple script and IE (>=10) and Firefox will support <input type="date">, without any dependencies, not even jQuery!

Support dynamically created inputs, so can be used in single page applications.

Support AngularJS (and possibly other libraries) bindings.

Install

npm install html5-simple-date-input-polyfill --save

then add to your JS (if using browserify): require('html5-simple-date-input-polyfill'); (Or with <script src="html5-simple-date-input-polyfill.min.js">)

and to your SCSS: @import "../node_modules/html5-simple-date-input-polyfill/html5-simple-date-input-polyfill.scss"; (or just copy and edit the CSS, its a very short code)

Package Sidebar

Install

npm i html5-simple-date-input-polyfill

Weekly Downloads

42

Version

1.1.0

License

MIT

Last publish

Collaborators

  • liorwohl