Home

Awesome

better-timeinput-polyfill Build Status

input[type=time] polyfill for better-dom

LIVE DEMO

Features

Installing

Use bower to download this extension with all required dependencies.

bower install better-timeinput-polyfill --save

This will clone the latest version of the better-timeinput-polyfill into the bower_components directory at the root of your project.

Then append the following html elements on your page:

<html>
<head>
    ...
    <link href="bower_components/better-timeinput-polyfill/dist/better-timeinput-polyfill.css" rel="stylesheet"/>
    <!--[if IE]>
        <link href="bower_components/better-dom/dist/better-dom-legacy.htc" rel="htc"/>
        <script src="bower_components/better-dom/dist/better-dom-legacy.js"></script>
    <![endif]-->
</head>
<body>
    ...
    <script src="bower_components/better-dom/dist/better-dom.js"></script>
    <script src="bower_components/better-timeinput-polyfill/dist/better-timeinput-polyfill.js"></script>
</body>
</html>

Browser support