JSPM

checkboxjs

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q5332F
  • License ISC

Create an accessibile checkbox out of pretty much any HTML markup

Package Exports

  • checkboxjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (checkboxjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Checkbox.js CircleCI

Checkbox.js aims to create a functional checkbox out of pretty much any HTML markup.

Getting started

Using checkbox.js is simple:

let checkbox = new Checkbox(HTMLElement);

This will create a checkbox out of that HTMLElement that you passed. Checkbox.js will try to find a label element in the DOM to associate with the checkbox. If it can't find a label it will throw an error. All checkboxes must have a label.