limestone/WizardPanels
Provides a Limestone styled panels component for stepping through a process.
Members
Section titled “Members ”WizardPanels Component
Section titled “WizardPanels   Component ”A WizardPanels that can step through different panels. Expects limestone/WizardPanelslimestone/WizardPanels.Panel as children.
Extends:
limestone/WizardPanelslimestone/WizardPanels.WizardPanelsBase
Wrapped with:
ui/Changeableui/Changeable.Changeable
Properties
onBack
Section titled “onBack”Called when the back button is pressed.
If ev.preventDefault is called, WizardPanels will not process the event further. If it is
not called, the index of the panel will be decremented unless noPrevButton is set.
Panel Component
Section titled “Panel   Component ”Panel that sets the children, footer, subtitle, and title for limestone/WizardPanelslimestone/WizardPanels.WizardPanels.
Properties
The button to use in place of the standard next button.
This prop accepts a component (e.g. Button), a component instance or a boolean value.
If false, the button will not show. If set to a component, or true, the button will
show. This will override the setting of
limestone/WizardPanelslimestone/WizardPanels.WizardPanelsBase.nextButtonVisibility.
Example:
nextButton={<Button icon="closex" aria-label="Quit">Close</Button>}The button to use in place of the standard prev button.
This prop accepts a component (e.g. Button), a component instance or a boolean value.
If false, the button will not show. If set to a component, or true, the button will
show. This will override the setting of
limestone/WizardPanelslimestone/WizardPanels.WizardPanelsBase.prevButtonVisibility.
Example:
prevButton={<Button icon="closex" aria-label="Back">Back</Button>}WizardPanelsBase Component
Section titled “WizardPanelsBase   Component ”A WizardPanels that has steps with corresponding panels.
Properties
aria-label
Section titled “aria-label”The "aria-label" for the Panel.
By default, the panel will be labeled by its limestone/Panelslimestone/Panels.Header.
When aria-label is set, it will be used instead to provide an accessibility label for
the panel.
Obtains a reference to the root node.
current
Section titled “current”The current step.
This is 1-based, not 0-based; as in the first step is 1. If omitted, this will equal
the currently selected panel.
Components to be included under the primary content.
Typically, up to 2 buttons may be included.
Specifies when and how to show nextButton on WizardPanel.
'auto'will display thenextButtonon everyWizardPanels.Panelexcept the last'always'will always display thenextButton'never'will always hide thenextButton
Note, children values will override the generalized parent visibility settings. In this
case, a customized nextButton on WizardPanels.Panel will take precedence over the
nextButtonVisibility value.
noAnimation
Section titled “noAnimation”Disables panel transitions.
noSteps
Section titled “noSteps”Omits the steps component.
noSubtitle
Section titled “noSubtitle”Omits the subtitle area.
Default: falseonChange
Section titled “onChange”Called when the index value is changed.
onNextClick
Section titled “onNextClick”Called when the next button is clicked in WizardPanel.
Calling preventDefault on the passed event will prevent advancing to the next panel.
onPrevClick
Section titled “onPrevClick”Called when previous button is clicked in WizardPanel.
Calling preventDefault on the passed event will prevent navigation to the previous panel.
onTransition
Section titled “onTransition”Called when a transition completes.
onWillTransition
Section titled “onWillTransition”Called before a transition begins.
Specifies when and how to show prevButton on WizardPanel.
'auto'will display theprevButtonon everyWizardPanels.Panelexcept the first'always'will always display theprevButton'never'will always hide theprevButton
Note, children values will override the generalized parent visibility settings. In this case,
if user provides a customized prevButton on WizardPanels.Panel will take precedence over the prevButtonVisibility value.
subtitle
Section titled “subtitle”The subtitle to display.
If limestone/WizardPanelslimestone/WizardPanels.WizardPanelsBase.noSubtitle is true, this prop is ignored.
The title to display.
The total number of steps.
If omitted, this will equal the total number of Panels.