nodep-date-input-polyfill-danish

Automatically adds datepickers to input[type=date] on IE, Firefox, and OS X Safari.

Usage no npm install needed!

<script type="module">
  import nodepDateInputPolyfillDanish from 'https://cdn.skypack.dev/nodep-date-input-polyfill-danish';
</script>

README

nodep-date-input-polyfill

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

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

Forked from nodep-date-input-polyfill to translate.

Install

npm install --save nodep-date-input-polyfill-danish

Add to your project:

  • Webpack/Browserify: require('nodep-date-input-polyfill-danish');

    or alongside Babel: import 'nodep-date-input-polyfill-danish';

  • Script Tag: Copy nodep-date-input-polyfill.dist.js from node_modules and include it anywhere in your HTML.

Features

Contributing

Local Development

Run webpack-dev-server --host $IP --port $PORT

Build

Run webpack --devtool=none