Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flatcheckbox

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flatcheckbox

Plugin to support checkbox styling and event handling

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

##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.

Keywords

FAQs

Package last updated on 22 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc