gov-wizard-item
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
collapsible | collapsible | Defines weather the wizard item can be collapsible | boolean | false |
color | color | Style variation of the button. | "error" | "neutral" | "primary" | "success" | "warning" | "primary" |
disabled | disabled | Makes the wizard component disabled. | boolean | false |
identifier | identifier | Custom wizard item identifier. Otherwise, it will be generated | string | undefined |
isExpanded | is-expanded | Defines whether the accordion is open or closed by button | boolean | false |
size | size | Size of wizard | "l" | "m" | "s" | "m" |
Events
Event | Description | Type |
---|---|---|
gov-change | Called when the accordion state changes | CustomEvent<WizardItemEvent> |
Methods
close() => Promise<void>
Closing the Wizard
Returns
Type: Promise<void>
currentState() => Promise<boolean>
Returns the current state of the component
Returns
Type: Promise<boolean>
open() => Promise<void>
Opening the Wizard
Returns
Type: Promise<void>
toggle() => Promise<void>
Wizard switch
Returns
Type: Promise<void>
Dependencies
Depends on
Graph
Built with StencilJS