shinymaterial (version 0.5.1)

material_input: Create a shinymaterial input

Description

Build a shinymaterial input.

Usage

material_input(type, ...)

Arguments

type

String. The type of input to be created.

...

Additional arguments for the input.

Examples

Run this code
# NOT RUN {
##-- switch --##
material_input(
  type = "switch",
  input_id = "example_switch",
  label = "Switch",
  off_label = "Off",
  on_label = "On",
  initial_value = TRUE
)
# }

Run the code above in your browser using DataCamp Workspace