gov-tabs-item
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
default | default | Default selected tab | boolean | false |
disabled | disabled | Item disable state | boolean | false |
iconEnd | icon-end | Icon definition at the end. Use the type/name notation | string | undefined |
iconStart | icon-start | Icon definition at the stat. Use the type/name notation | string | undefined |
identifier | identifier | Custom tab item identifier. Otherwise, it will be generated | string | undefined |
label | label | Item name of the tab | string | undefined |
triggerIdentifier | trigger-identifier | Custom tab trigger item identifier. Otherwise, it will be generated | string | undefined |
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
Name | Type | Description |
---|---|---|
status | boolean |
Returns
Type: Promise<void>
Built with StencilJS