@pencil.js/checkbox

1.18.0 • Public • Published

Checkbox

Checkbox user input.

Checkbox example

Installation

npm install @pencil.js/checkbox

Examples

import Checkbox from "@pencil.js/checkbox";

const position = [100, 200];
const options = {
    value: true,
};
const checkbox = new Checkbox(position, options);

CheckboxOptions

Inherit from InputOptions.

Name Type Default Comment
size Number 20 Width and height of the checkbox
value Boolean false Whether it's check ot not

Readme

Keywords

Package Sidebar

Install

npm i @pencil.js/checkbox

Weekly Downloads

2

Version

1.18.0

License

MIT

Unpacked Size

4.93 kB

Total Files

4

Last publish

Collaborators

  • gmartigny