Skip to contents

Create a TileGroup component

Usage

calcite_tile_group(...)

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
alignmentalignmentSpecifies the alignment of each calcite-tile's content."center" | "start"TRUE
disableddisabledWhen true, interaction is prevented and the component is displayed with lower opacity.booleanTRUE
labellabelAccessible name for the component.stringFALSE
layoutlayoutDefines the layout of the component. Use "horizontal" for rows, and "vertical" for a single column."horizontal" | "vertical"TRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
selectedItemsNASpecifies the component's selected items.Check API referenceFALSE
selectionAppearanceselection-appearanceSpecifies the selection appearance, where: - "icon" (displays a checkmark or dot), or - "border" (displays a border)."border" | "icon"TRUE
selectionModeselection-modeSpecifies the selection mode, where: - "multiple" (allows any number of selected items), - "single" (allows only one selected item), - "single-persist" (allows only one selected item and prevents de-selection), - "none" (allows no selected items)."multiple" | "none" | "single" | "single-persist"TRUE

Events

The following events are observed by shiny:

EventDescription
calciteTileGroupSelectFires when the component's selection changes.

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding calcite-tile elements.

Examples

calcite_tile_group()
#> <calcite-tile-group></calcite-tile-group>