material_input: Create a shinymaterial input

Description Usage Arguments Examples

View source: R/shiny-material-input.R

Description

Build a shinymaterial input.

Usage

1

Arguments

type

String. The type of input to be created.

...

Additional arguments for the input.

Examples

1
2
3
4
5
6
7
8
##-- switch --##
material_input(
  type = "switch",
  input_id = "example_switch",
  off_label = "Off",
  on_label = "On",
  initial_value = TRUE
)

ericrayanderson/shinymaterial documentation built on Oct. 9, 2020, 5:21 p.m.