Skip to contents

Use the calcite-card, calcite-notice, calcite-panel, or calcite-tile component instead.

Usage

calcite_tip(...)

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
closedclosedWhen true, the component does not display.booleanTRUE
closeDisabledclose-disabledWhen true, the close button is not present on the component.booleanTRUE
headingheadingThe component header text.stringFALSE
headingLevelheading-levelSpecifies the heading level of the component's heading for proper document structure, without affecting visual styling.1 | 2 | 3 | 4 | 5 | 6TRUE
messageOverridesNAUse this property to override individual strings used by the component.Check API referenceFALSE
selectedselectedWhen true, the component is selected if it has a parent calcite-tip-manager. Only one tip can be selected within the calcite-tip-manager parent.booleanTRUE

Events

The following events are observed by shiny:

EventDescription
calciteTipDismissEmits when the component has been closed.

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding text and a hyperlink.
thumbnailA slot for adding an HTML image element.

Examples

calcite_tip()
#> <calcite-tip></calcite-tip>