Checkbox
Button user input.
Installation
npm install @pencil.js/button
Examples
import Button from "@pencil.js/button";
const position = [100, 200];
const options = {
value: "Click me",
};
const button = new Button(position, options);
ButtonOptions
Inherit from TextOptions and from InputOptions.
Name | Type | Default | Comment |
---|---|---|---|
value | String |
"" |
Text of the button |