openhab-webui/bundles/org.openhab.ui/doc/components/oh-stepper-card.md

5.0 KiB

title component label description source prev
oh-stepper-card - Stepper Card oh-stepper-card Stepper Card Display a stepper in a card to control an item https://github.com/openhab/openhab-webui/edit/main/bundles/org.openhab.ui/doc/components/oh-stepper-card.md /docs/ui/components/

oh-stepper-card - Stepper Card

toc

Display a stepper in a card to control an item

Configuration

Card

Parameters of the card Title of the card Footer of the card Do not render the card border Do not render a shadow effect to the card Show the card outline

Stepper

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