Skip to contents

Create a TabNav component

Usage

calcite_tab_nav(...)

Arguments

...

named attributes passed to htmltools::tag()

Value

an object of class calcite_component which is a subclass of shiny.tag

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
messageOverridesNAUse this property to override individual strings used by the component.Check API referenceFALSE
positionpositionSpecifies the position of calcite-tab-nav and calcite-tab-title components in relation to, and is inherited from the parent calcite-tabs, defaults to top. @internal"bottom" | "top"FALSE
selectedTitleNASpecifies the component's selected calcite-tab-title.HTMLCalciteTabTitleElementFALSE
storageIdstorage-idSpecifies the name when saving selected calcite-tab data to localStorage.stringTRUE
syncIdsync-idSpecifies text to update multiple components to keep in sync if one changes.stringTRUE

Events

The following events are observed by shiny:

EventDescription
calciteTabChangeEmits when the selected calcite-tab changes.

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding calcite-tab-titles.

Examples

calcite_tab_nav()
#> <calcite-tab-nav></calcite-tab-nav>