@pencil.js/input

1.18.0 • Public • Published

Input

Abstract user input.

Installation

npm install @pencil.js/input

Examples

import Input from "@pencil.js/input";

class MyInput extends Input {
}

InputOptions

Inherit from ContainerOptions.

Name Type Default Comment
value Any null Initial value of the input
fill Color or String "#444" Color of the filling
background Color or String "#f6f6f6" Color of the background
border Color or String "#aaa" Color of the border
hover Color or String "#d0d0d0" Color of the background when hovered

Readme

Keywords

Package Sidebar

Install

npm i @pencil.js/input

Weekly Downloads

40

Version

1.18.0

License

MIT

Unpacked Size

7.14 kB

Total Files

4

Last publish

Collaborators

  • gmartigny