KeyValue-class: KeyValue widget

KeyValueR Documentation

KeyValue widget

Description

See key_value().

Super class

Widget -> KeyValue

Active bindings

data

Named list of values (reactive).

Methods

Public methods

Inherited methods

KeyValue$new()

Create a key/value list. See key_value().

Usage
KeyValue$new(data = list(), id = NULL, classes = NULL, style = NULL)
Arguments
data

Named list or vector.

id, classes, style

See Widget.


KeyValue$default_style()

The built-in style.

Usage
KeyValue$default_style()

KeyValue$render()

Aligned key and value lines.

Usage
KeyValue$render()

KeyValue$clone()

The objects of this class are cloneable with this method.

Usage
KeyValue$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


termr documentation built on Oct. 21, 2026, 5:13 p.m.