@pencil.js/checkbox
v1.18.0
Published
Checkbox user input for Pencil.js package.
Readme
Checkbox
Checkbox user input.

Installation
npm install @pencil.js/checkboxExamples
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 |
