View source: R/components-generated.R
| calcite_block_section | R Documentation |
Create a BlockSection component
calcite_block_section(...)
... |
named attributes passed to |
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 |
The following events are observed by shiny:
| Event | Description |
| calciteBlockSectionToggle | Fires when the header has been clicked. |
The following slots are provided by this component:
| Slot | Description |
| Default (unnamed) | A slot for adding custom content. |
an object of class calcite_component which is a subclass of shiny.tag
calcite_block_section()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.