Skip to contents

Displays text. See label().

Super class

Widget -> Label

Active bindings

text

The label text (reactive).

Methods

Inherited methods


Label$new()

Create a label.

Usage

Label$new(text = "", id = NULL, classes = NULL, style = NULL, visible = TRUE)

Arguments

text

A string, character vector (one element per line) or span()s.

id, classes, style, visible

See Widget.


Label$default_style()

The built-in style.

Usage

Label$default_style()


Label$update()

Replace the text.

Usage

Label$update(text = "")

Arguments

text

New text.


Label$render()

The label content.

Usage

Label$render()


Label$clone()

The objects of this class are cloneable with this method.

Usage

Label$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.