Skip to contents

Use the calcite-tile component instead.

Usage

calcite_tile_select(...)

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
checkedcheckedWhen true, the component is checked.booleanTRUE
descriptiondescriptionA description for the component, which displays below the heading.stringTRUE
disableddisabledWhen true, interaction is prevented and the component is displayed with lower opacity.booleanTRUE
headingheadingThe component header text, which displays between the icon and description.stringTRUE
iconiconSpecifies an icon to display.stringTRUE
iconFlipRtlicon-flip-rtlWhen true, the icon will be flipped when the element direction is right-to-left ("rtl").booleanTRUE
inputAlignmentinput-alignmentWhen inputEnabled is true, specifies the placement of the interactive input on the component."end" | "start"TRUE
inputEnabledinput-enabledWhen true, displays an interactive input based on the type property.booleanTRUE
namenameSpecifies the name of the component on form submission.anyTRUE
typetypeSpecifies the selection mode of the component, where: "radio" is for single selection, and "checkbox" is for multiple selections."checkbox" | "radio"TRUE
valuevalueThe component's value.anyFALSE
widthwidthSpecifies the width of the component."auto" | "full"TRUE

Events

The following events are observed by shiny:

EventDescription
calciteTileSelectChangeEmits a custom change event. For checkboxes it emits when checked or unchecked. For radios it only emits when checked.

Slots

The following slots are provided by this component:

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

Examples

calcite_tile_select()
#> <calcite-tile-select></calcite-tile-select>