disabled
Specifies whether the UI component item responds to user interaction.
Type:
Default Value: false
hint
Specifies the hint text that appears when an item (step) is hovered over or long-pressed.
Type:
NOTE
An item's hint has priority over the component's hint.
icon
Specifies the indicator icon.
Type:
This property accepts one of the following:
- The icon's URL
- The icon's name if the icon is from the DevExtreme icon library
- The icon's CSS class if the icon is from an external icon library (see External Icon Libraries)
- The icon in the Base64 format
- The icon in the SVG format. Ensure that the source is reliable.
NOTE
Do not use the icon property if you use text, and vice versa.
isValid
Specifies a visual indicator for validation.
Type:
- If
false, a step displays a "validation failed" state. - If
true, a step displays a "validation succeeded" state. - If
undefined, a step shows no validation information.
optional
Marks the step as optional.
Type:
- If
falseorundefined, a step shows no "optional" information. - If
true, a step displays an "(Optional)" caption.
template
Specifies a template that should be used to render this item only.
Type:
The following types of the specified value are available.
- Assign a string containing the name of the required template.
- Assign a jQuery object of the template's container.
- Assign a DOM Node of the template's container.
- Assign a function that returns the jQuery object or a DOM Node of the template's container.
The following example adds a custom item to the component.
index.js
- $(function() {
- $("#stepperContainer").dxStepper({
- // ...
- items: [
- {
- // ...
- template: '<div>Custom Item</div>'
- }
- ]
- });
- });