flatcheckbox

0.1.0 • Public • Published

##service.flatcheckbox.jquery - Styleable checkbox

###Description

service.flatcheckbox.jquery is a small jQuery plugin that serves 2 purposes:

  • It styles a checkbox any way you want by hiding the <input type="checbox" /> and replacing it with a styled div. The css file that comes with the component creates a 'flat' checkbox (comparable with how you see checkboxes on Windows 8.x apps).
  • It binds your event handler to the element.

Although with CSS3 it is possible to re-style the default checkbox without using javascript I am not a fan of that solution because it still isn't supported across all browsers and, more importantly, you will anyhow need javascript to hook up an event handler.

###Tutorial and Documentation

You can find the tutorial and API description at code.cwwonline.be.

Package Sidebar

Install

npm i flatcheckbox

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • bertyhell