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