This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@wealthsimple/fancy-checkbox

1.2.3 • Public • Published

fancy-checkbox

Fancy checkboxes and radios. Based on iCheck plugin but simplified.

Installation

First, make sure you have jQuery or Zepto installed. Next, run the following command:

bower install git@github.com:wealthsimple/fancy-checkbox.git --save

Next, include the dist/fancy-checkbox.js and dist/fancy-checkbox.css on your webpage.

Usage

This plugin will automatically apply styling to all inputs of type="checkbox" and type="radio".

If you wish to disable the styling on a specific input, you must add data-fancy-disabled="true" attribute.

You can also disable styling on all child inputs by adding data-fancy-disabled="true" to any ancestor element.

Generating Dist

  1. Run npm install to update/install dependencies
  2. Run npm prepublishOnly to generate dist.

Making a new release

  1. Bump the version in package-lock.json
  2. Run npm publish to publish new version

Readme

Keywords

none

Package Sidebar

Install

npm i @wealthsimple/fancy-checkbox

Weekly Downloads

0

Version

1.2.3

License

MIT

Unpacked Size

61.3 kB

Total Files

10

Last publish

Collaborators

  • 6
  • abejfehr
  • alexturpin
  • cchawn
  • f3ndot
  • jsuter
  • sdavenportws
  • spollock-ws
  • sterlingwes
  • wealthsimple-ci
  • ws-sumeet