Slider types and their input attributes
Summarize
Summary of Slider Types and Their Input Attributes
This content outlines various slider types available in ServiceNow and the specific input attributes required for their creation. Understanding these attributes enables customers to configure sliders effectively for enhanced user interaction within their applications.
Show less
Key Features
- Default Value Slider: Provides a starting point for users. Required attributes: Min, Max, DefaultValue, StepSize; EnforceStepSize is optional.
- Visual Steps Slider: Clarifies the meaning of each position on the slider. Required attributes: Min, Max, StepSize, VisualStepsEnabled; DefaultValue and EnforceStepSize are optional.
- Enforced Step Size Slider: Restricts user selection to specific predefined increments, suitable for large value ranges. Required attributes: Min, Max, StepSize; DefaultValue and EnforceStepSize are optional.
- Reference Point Slider: Helps users understand their position within the range. Required attributes: Min, Max, StepSize, ReferencePoint; DefaultValue and EnforceStepSize are optional.
- Decorative Step Slider: Enhances UI aesthetics with visual indicators including numeric values and colored labels. Required attributes: Min, Max, StepSize, Decoration; DefaultValue and EnforceStepSize are optional.
Key Outcomes
By utilizing these slider types and their respective input attributes, ServiceNow customers can create intuitive interfaces that enhance user experience, improve accessibility, and facilitate better data input. Understanding which attributes are essential will help ensure sliders are configured correctly for their intended use.
Review the sections to see slider type examples and learn which input attributes are used to create them.
- The input attribute DefaultValue is the numerical value displayed when a user first views the slider. In some of the sections below, the DefaultValue input attribute is marked as optional, because you're unable to tell if the attribute was used in the displayed images.
- The input attribute EnforceStepSize isn't a visual attribute. It's marked as Optional in some of the sections, as you're unable to see if it has been used from the images displayed.
Default value slider
- Min
- Max
- DefaultValue
- StepSize
- EnforceStepSize: Optional
Visual steps slider
- Min
- Max
- DefaultValue: Optional
- StepSize
- VisualStepsEnabled
- EnforceStepSize: Optional
Enforced step size slider
- Min
- Max
- DefaultValue: Optional
- StepSize
- EnforceStepSize
Reference point slider
- Min
- Max
- DefaultValue: Optional
- StepSize
- ReferencePoint
- EnforceStepSize: Optional
Decorative step slider
- Min
- Max
- DefaultValue: Optional
- StepSize
- EnforceStepSize: Optional
- Decoration
For more information, see Configure a decorative slider.