Skip to contents

Create a ActionBar component

Usage

calcite_action_bar(...)

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
actionsEndGroupLabelactions-end-group-labelSpecifies the accessible label for the last calcite-action-group.stringFALSE
expandDisabledexpand-disabledWhen true, the expand-toggling behavior is disabled.booleanTRUE
expandedexpandedWhen true, the component is expanded.booleanTRUE
layoutlayoutSpecifies the layout direction of the actions."horizontal" | "vertical"TRUE
messageOverridesNAUse this property to override individual strings used by the component.Check API referenceFALSE
overflowActionsDisabledoverflow-actions-disabledDisables automatically overflowing calcite-actions that won't fit into menus.booleanTRUE
overlayPositioningoverlay-positioningDetermines the type of positioning to use for the overlaid content. Using "absolute" will work for most cases. The component will be positioned inside of overflowing parent containers and will affect the container's layout. "fixed" should be used to escape an overflowing parent container, or when the reference element's position CSS property is "fixed"."absolute" | "fixed"TRUE
positionpositionArranges the component depending on the element's dir property."end" | "start"TRUE
scalescaleSpecifies the size of the expand calcite-action."l" | "m" | "s"TRUE

Events

The following events are observed by shiny:

EventDescription
calciteActionBarToggleFires when the expanded property is toggled.

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding calcite-actions that will appear at the top of the component.
bottom-actionsDeprecated Use the "actions-end" slot instead. A slot for adding calcite-actions that will appear at the bottom of the component, above the collapse/expand button.
actions-endA slot for adding calcite-actions that will appear at the end of the component, prior to the collapse/expand button.
expand-tooltipA slot to set the calcite-tooltip for the expand toggle.

Examples

calcite_action_bar()
#> <calcite-action-bar></calcite-action-bar>