View source: R/intbox-n-ddboxes.R
intbox_n_ddboxes_ui | R Documentation |
The UI component of the Shiny module for creating one integer input box and below it 2 side-by-side dropdown boxes with choices depending on the value entered into the input box.
intbox_n_ddboxes_ui('id', 'label', min = 2, max = 10000000, value = 2)
id |
String. The input slot that will be used to access the value. |
label |
String (default is NULL). Display label for the input box. |
min |
Integer (default = 2). Minimal value it takes. |
max |
Integer (default = 10000000). Maximum value it takes. |
value |
Integer (default is the same as min). Initial value it takes. |
Must use it together with its counterpart server.
intbox_n_ddboxes_server
for the server.
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.