Learn R Programming

jsReact (version 0.2.4)

add_dropdown_list: Add drop-down list to body

Description

Add drop-down list to body

Usage

add_dropdown_list(my_html, into = "", options, ...)

Arguments

my_html

html in a vector of strings; output from 'create_html'.

into

character string; unique identifier of a line in the html. Element id is highly recommended.

options

character vector; the options in the drop-down list. Each item must be unique.

...

Extra parameter that goes into a tag, e.g. In <div type = "xxx">, 'type = "xxx"' goes to ... .