Design systém4.2

gov-tabs-item

Properties

PropertyAttributeDescriptionTypeDefault
defaultdefaultDefault selected tabbooleanfalse
disableddisabledItem disable statebooleanfalse
iconEndicon-endIcon definition at the end. Use the type/name notationstringundefined
iconStarticon-startIcon definition at the stat. Use the type/name notationstringundefined
identifieridentifierCustom tab item identifier. Otherwise, it will be generatedstringundefined
labellabelItem name of the tabstringundefined
triggerIdentifiertrigger-identifierCustom tab trigger item identifier. Otherwise, it will be generatedstringundefined

Methods

getDisableState() => Promise<boolean>

Returns a unique tab trigger identifier

Returns

Type: Promise<boolean>

getIdentifier() => Promise<string>

Returns a unique tab content identifier

Returns

Type: Promise<string>

getTriggerIdentifier() => Promise<string>

Returns a unique tab trigger identifier

Returns

Type: Promise<string>

setActiveStatus(status: boolean) => Promise<void>

Set status of tab-item

Parameters

NameTypeDescription
statusboolean

Returns

Type: Promise<void>


Built with StencilJS