Learn R Programming

calcite (version 0.1.0)

calcite_tab: Create a Tab component

Description

Create a Tab component

Usage

calcite_tab(...)

Value

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

Arguments

...

named attributes passed to htmltools::tag()

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
selectedselectedWhen true, the component's contents are selected. Only one tab can be selected within the calcite-tabs parent.booleanTRUE
tabtabSpecifies a unique name for the component. When specified, use the same value on the calcite-tab-title.stringTRUE

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding custom content.

References

Official Documentation

Examples

Run this code
calcite_tab()

Run the code above in your browser using DataLab