You are here: start » Tantalus' Firmwares » ServiceManager » tag » Spinner

Spinner

Spinner is an input widget to read numbers. On the right are arrows to increment/decrement the current value.

Attributes

Name Allowed Values Description
width Length- or Percentage Sets the width of a widget
css CSS Class Name Sets a new style
tooltip Text Sets a tooltip text
id Text Sets the unique ID of the widget
action Method Name Left mouse click
max Number Maximum value
min Number Minimum value

Options

Name Allowed Values Description
visible Bool Widget visible/invisible
enabled Bool Widget enabled/disabled
max Number Maximum value
min Number Minimum value

Example

XML

<spinner id="spinner" min="-100" max="100" />

PHP

$result->setData('spinner', '42');

Result

Links

You could leave a comment if you were logged in.