Learn R Programming

calcite (version 0.1.0)

calcite_label: Create a Label component

Description

Create a Label component

Usage

calcite_label(...)

Value

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

Arguments

...

named attributes passed to htmltools::tag()

Details

Properties

The following properties are provided by this component:

NameAttributeDescriptionValuesReflects to Attribute
alignmentalignmentSpecifies the text alignment of the component."center" | "end" | "start"TRUE
forforSpecifies the id of the component the label is bound to. Use when the component the label is bound to does not reside within the component.stringTRUE
layoutlayoutDefines the layout of the label in relation to the component. Use "inline" positions to wrap the label and component on the same line."default" | "inline" | "inline-space-between"TRUE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE

Slots

The following slots are provided by this component:

SlotDescription
Default (unnamed)A slot for adding text and a component that can be labeled.

References

Official Documentation

Examples

Run this code
calcite_label()

Run the code above in your browser using DataLab