Skip to contents

Create a Loader component

Usage

calcite_loader(...)

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
inlineinlineWhen true, displays smaller and appears to the left of the text.booleanTRUE
labellabelAccessible name for the component.stringFALSE
scalescaleSpecifies the size of the component."l" | "m" | "s"TRUE
texttextText that displays under the component's indicator.stringFALSE
typetypeSpecifies the component type. Use "indeterminate" if finding actual progress value is impossible. Otherwise, use "determinate" to have the value indicate the progress or "determinate-value" to have the value label displayed along the progress."determinate" | "determinate-value" | "indeterminate"TRUE
valuevalueThe component's value. Valid only for "determinate" indicators. Percent complete of 100.numberFALSE

Examples

calcite_loader()
#> <calcite-loader></calcite-loader>