View source: R/components-generated.R
calcite_dropdown_item | R Documentation |
Create a DropdownItem component
calcite_dropdown_item(...)
... |
named attributes passed to |
The following properties are provided by this component:
Name | Attribute | Description | Values | Reflects to Attribute |
disabled | disabled | When true , interaction is prevented and the component is displayed with lower opacity. | boolean | TRUE |
href | href | Specifies the URL of the linked resource, which can be set as an absolute or relative path. Determines if the component will render as an anchor. | string | TRUE |
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 |
label | label | Accessible name for the component. | string | FALSE |
rel | rel | Specifies the relationship to the linked document defined in href . | string | TRUE |
selected | selected | When true , the component is selected. | boolean | TRUE |
target | target | Specifies the frame or window to open the linked document. | string | TRUE |
The following events are observed by shiny:
Event | Description |
calciteDropdownItemSelect | Fires when the component is selected. |
The following slots are provided by this component:
Slot | Description |
Default (unnamed) | A slot for adding text. |
an object of class calcite_component
which is a subclass of shiny.tag
calcite_dropdown_item()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.