inlineField: Wrap a Shiny input so its label is displayed inline

View source: R/accessory.R

inlineFieldR Documentation

Wrap a Shiny input so its label is displayed inline

Description

Wrap a Shiny input so its label is displayed inline

Usage

inlineField(field_def, label, labelwidth = 6)

Arguments

field_def

A field definition with NULL set for the label property

label

Field label

labelwidth

With (in units out of 12) for label

Value

output A UI definition that can be passed to the shinyUI function.

Examples

inlineField(numericInput("foo", label = NULL, min = 0, max = 100, value = 50), "FOO")


pinin4fjords/shinyngs documentation built on Feb. 28, 2024, 10:19 a.m.