4.7 KiB
4.7 KiB
title | component | label | description | source | prev |
---|---|---|---|---|---|
oh-stepper - Stepper | oh-stepper | Stepper | Stepper control, allows to input a number or decrement/increment it using buttons | https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-stepper.md | /docs/ui/components/ |
oh-stepper - Stepper
Stepper control, allows to input a number or decrement/increment it using buttons
Configuration
General
Item to control
Minimum value
Maximum value
Minimum interval between values
Offset to be applied to the Item's state (e.g. Item state = 2; offset = 20; stepper behaves as Item state would be 22)
Display the buttons without the value in the middle
Enables the input field between the buttons. Note that this might not work when min/max is set.
Smaller size
Larger size
Fill the buttons with the primary color
Display the buttons with a raised style
Display the buttons with a rounded style
Continue to increase/decrease the value while the buttons keep being pressed
Speed up the increase/decrease over time while the buttons keep being pressed
Name of the variable to set on input change
Consider the variable value is an object and set the corresponding deep property within that object using a key syntax. Examples:
user.name
, user[0].address[1].street
, [0]
, [0].label
. The inner property and its parent hierarchy will be created if missing.