Home

Awesome

better-placeholder-polyfill<br>Build Status Coverage Status Bower version

[placeholder] polyfill for better-dom

The placeholder attribute is quite useful and despite on "optional" sense in some UIs you have to include a polyfill that adds support in old browsers. The project implements consistent support for the placeholder attribute in browsers that do not handle it.

LIVE DEMO (open in IE < 10)

Features

Installing

Use bower to download this extension with all required dependencies.

$ bower install better-placeholder-polyfill

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

Then append the following html elements on your page:

<script src="bower_components/better-dom/dist/better-dom.js"></script>
<script src="bower_components/better-placeholder-polyfill/dist/better-placeholder-polyfill.js"></script>

Browser support

Desktop

Mobile