@pencil.js/button

1.18.0 • Public • Published

Checkbox

Button user input.

Button example

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

Readme

Keywords

Package Sidebar

Install

npm i @pencil.js/button

Weekly Downloads

0

Version

1.18.0

License

MIT

Unpacked Size

5.1 kB

Total Files

4

Last publish

Collaborators

  • gmartigny