2.1.0 • Published 4 years ago

wired-checkbox v2.1.0

Weekly downloads
81
License
MIT
Repository
github
Last release
4 years ago

wired checkbox

wired-checkbox

Hand-drawn sketchy checkbox web component.

For demo and view the complete set of wired-elememts: wiredjs.com

Usage

Add wired-checkbox to your project:

npm i wired-checkbox

Import wired-checkbox definition into your HTML page:

<script type="module" src="wired-checkbox/lib/wired-checkbox.js"></script>

Or into your module script:

import { WiredCheckbox } from "wired-checkbox"

Use it in your web page:

<wired-checkbox>Checkbox One</wired-checkbox>
<wired-checkbox checked>Checkbox Two</wired-checkbox>
<wired-checkbox disabled>Disabled checkbox</wired-checkbox>

Properties

checked - Checked state (boolean). Default is false.

disabled - Disables the checkbox. Default value is false.

Custom CSS Properties

--wired-checkbox-icon-color Color of the checkbox. Default is currentColor.

Events

change event fired when state of the checkbox changes, i.e. the user checks/unchecks the box.

License

MIT License (c) Preet Shihn

2.1.0

4 years ago

2.0.2

4 years ago

2.0.0

5 years ago

2.0.0-alpha.6

5 years ago

2.0.0-alpha.1

5 years ago

2.0.0-alpha.0

5 years ago

1.0.0

5 years ago

1.0.0-alpha.0

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.9.0-1

5 years ago

0.9.0-0

5 years ago

0.8.0

6 years ago

0.8.0-0

6 years ago

0.7.0

6 years ago

0.6.5

6 years ago

0.6.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago