User Manual

GETTING STARTED


MODULES AND PLATFORM


APPENDIX


TUTORIALS & HELPFUL TRICKS


STRATEGIC PARTNER LINKS

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

RESOURCES

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

ALL USER MANUAL VERSIONS

Ignition 8.1
Ignition 7.9
Ignition 7.8

Deprecated Pages

Employees

Sign In

Skip to end of metadata
Go to start of metadata
General

Component Palette Icon:


Description

The Slider component lets the user drag an indicator along a scale to choose a value in a range.  Enable the "show" and "interval" properties under "labels" to visually display the values within a range. The slider can be configured to orient horizontally or vertically with the "orientation" property. 

Properties

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective.
This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
valueValue represented by slider handle. Current value of the slider.value: numeric
minThe minimum value for the slider scale: all the way left or down.value: numeric
maxThe maximum value for the slider scale: all the way right or up.value: numeric
orientationSpecifies whether the slider track is aligned vertically or horizontally.value: boolean

step

Intervals along track at which a value may be set. Specifies the size of increments between values of the slider.

This does not force the value into that step size. Setting the slider value manually or through a binding will cause it to show the actual value.

value: numeric
labels

Label settings along the track.

NameDescriptionProperty Type
showIf true, displays labels at periodic values along track.value: boolean
intervalInterval at which to display periodic labels along track.value: numeric
object
enabled

Whether slider interaction is currently active.

If the component is disabled, scripts can still run on the component. For example, if you add a script action to the onClick event, the script will fire when the user clicks on the Slider.

value: boolean
handleColorColor of slider handle. Can be chosen from color wheel, chosen from color palette, or entered as RGB or HSL value. See Color Selector.color
trackColorColor of slider track. See Color Selector.color
style

Sets a style for this component. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.

object

Perspective Component Events

The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.

Example

PropertyValue
props.value65
props.orientationvertical
props.step5
props.labels.showtrue
props.labels.interval

10

props.handleColor#8AFF8A
props.trackColor#CCFFFF