View source: R/intbox-n-ddboxes.R
intbox_n_ddboxes_server | R Documentation |
The server component of the Shiny module for creating a integer input box and 2 side-by-side dropdown boxes with choices depending on the value entered into the input box.
intbox_n_ddboxes_server(
id,
labels = c("x-axis", "y-axis"),
choice_part_labels = "X",
selections = c("X1", "X2")
)
id |
String. The input slot that will be used to access the value. |
labels |
Character vector of display labels for the dropdown boxes. |
choice_part_labels |
String. Part of the label for the value choices. |
selections |
Character vector of the value choices for each dropdown box. All dropdown boxes share the same value choices. |
A module server function that can be called in a reactive env.
intbox_n_ddboxes_ui
for the UI.
inst/examples/ex-intbox_n_ddboxes.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.