calcite_block_section: Create a BlockSection component

View source: R/components-generated.R

calcite_block_sectionR Documentation

Create a BlockSection component

Description

Create a BlockSection component

Usage

calcite_block_section(...)

Arguments

...

named attributes passed to htmltools::tag()

Details

Properties

The following properties are provided by this component:

Name Attribute Description Values Reflects to Attribute
iconEnd icon-end Specifies an icon to display at the end of the component. string TRUE
iconFlipRtl icon-flip-rtl Displays the iconStart and/or iconEnd as flipped when the element direction is right-to-left ("rtl"). "both" | "end" | "start" TRUE
iconStart icon-start Specifies an icon to display at the start of the component. string TRUE
messageOverrides NA Use this property to override individual strings used by the component. Check API reference FALSE
open open When true, expands the component and its contents. boolean TRUE
status status Displays a status-related indicator icon. "idle" | "invalid" | "valid" TRUE
text text The component header text. string FALSE
toggleDisplay toggle-display Specifies how the component's toggle is displayed, where: "button" sets the toggle to a selectable header, and "switch" sets the toggle to a switch. "button" | "switch" TRUE

Events

The following events are observed by shiny:

Event Description
calciteBlockSectionToggle Fires when the header has been clicked.

Slots

The following slots are provided by this component:

Slot Description
Default (unnamed) A slot for adding custom content.

Value

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

References

Official Documentation

Examples

calcite_block_section()

calcite documentation built on April 3, 2025, 7:11 p.m.