Constructor # (abstract) new module:Input(positionDefinition, base, optionsopt) Input constructor Parameters: Name Type Attributes Description positionDefinition PositionDefinition Any position base Component Base shape for the background options InputOptions <optional> Specific options Source: modules/input/input.js, line 15 Extends module:Component Members # (static) defaultOptions :InputOptions Type: InputOptions Source: modules/input/input.js, line 109 # (static) events :InputEvents Type: InputEvents Source: modules/input/input.js, line 128 # value Return the value of the input Source: modules/input/input.js, line 58 # value Set the value of the input Source: modules/input/input.js, line 66 Methods # (static) from(definition) → {Input} Parameters: Name Type Description definition Object Input definition Source: modules/input/input.js, line 92 Returns: Type Input # click() Action to execute on click Source: modules/input/input.js, line 73 Type Definitions # InputEvents Type: Object Properties Name Type Description change String Input value has changed Source: modules/input/input.js, line 121 # InputOptions Type: Object Properties Name Type Attributes Default Description value * <optional> null Initial value of the input foreground String <optional> "#444" Color of the filling fill String <optional> "#f6f6f6" Color of the background border String <optional> "#aaa" Color of the border hover String <optional> "#d0d0d0" Color of the background when hovered cursor String <optional> Component.cursors.pointer Cursor on hover Source: modules/input/input.js, line 96