SpinButton
A spin button (SpinButton) allows someone to incrementally adjust a value in small steps. It’s mainly used for numeric values, but other values are supported too.
Usage
Basic
Displays various basic configurations for the BitSpinButton, including placeholders, disabled state, minimum and maximum values, read-only mode and descriptions
Mode
Showcases the BitSpinButton with different button modes, including compact, inline and spread.
Label
Demonstrates various label configurations for BitSpinButton, including different label positions and custom label templates.
LabelPosition:
LabelTemplate:
Icons
Demonstrates BitSpinButton with different icons, including component icon and increment/decrement icons in various modes.
Component's Icon:
Increment & Decrement Icons:
Style & Class
Explores styling and class customization for BitSpinButton, including component styles, custom classes, and detailed style options.
Component's Style & Class:
Styles & Classes:
Suffix
Demonstrates the use of suffixes in BitSpinButton, including examples with different suffix values.
Binding
Use various binding scenarios with BitSpinButton, including one-way and two-way binding.
Events
Handle events in BitSpinButton, including increment, decrement, and change events.
ShowInput
Demonstrates hiding the input field in BitSpinButton while still allowing value changes.
Hidden input:
Validation
Demonstrates validation for BitSpinButton within a form, including required fields and custom validation messages.
RTL
Use BitSpinButton in right-to-left (RTL).
API
BitSpinButton parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitSpinButton public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitInputBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase parameters
Name |
Type |
Default value |
Description |
---|---|---|---|
BitComponentBase public members
Name |
Type |
Default value |
Description |
---|---|---|---|
BitSpinButtonClassStyles properties
Name |
Type |
Default value |
Description |
---|---|---|---|
BitLabelPosition enum
Name |
Value |
Description |
---|---|---|
BitSpinButtonMode enum
Name |
Value |
Description |
---|---|---|
BitVisibility enum
Name |
Value |
Description |
---|---|---|
BitDir enum
Name |
Value |
Description |
---|---|---|
- On this page