Design systém4.2

gov-wizard-item

Properties

PropertyAttributeDescriptionTypeDefault
collapsiblecollapsibleDefines weather the wizard item can be collapsiblebooleanfalse
colorcolorStyle variation of the button."error" | "neutral" | "primary" | "success" | "warning""primary"
disableddisabledMakes the wizard component disabled.booleanfalse
identifieridentifierCustom wizard item identifier. Otherwise, it will be generatedstringundefined
isExpandedis-expandedDefines whether the accordion is open or closed by buttonbooleanfalse
sizesizeSize of wizard"l" | "m" | "s""m"

Events

EventDescriptionType
gov-changeCalled when the accordion state changesCustomEvent<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