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 Jan. 18, 2025, 7:09 p.m.