| Select | R Documentation |
A drop-down choice. See dropdown().
Widget -> Select
focusableSelects can be focused.
promptText shown when nothing is selected.
valueThe selected value or NULL (reactive; sends
"dropdown.changed").
choicesThe choice values.
Widget$add_class()Widget$ancestors()Widget$animate()Widget$arrange_children()Widget$bind()Widget$bind_reactive()Widget$bindings()Widget$blur()Widget$capture_mouse()Widget$child_clip()Widget$clear()Widget$computed_style()Widget$content_height()Widget$content_width()Widget$focus()Widget$format()Widget$get_state()Widget$has_class()Widget$invalidate()Widget$invalidate_paint()Widget$is_displayed()Widget$is_enabled()Widget$layout_descend()Widget$layout_differs()Widget$matches()Widget$mount()Widget$on()Widget$paint()Widget$post_message()Widget$print()Widget$pseudo_states()Widget$query()Widget$query_one()Widget$refresh()Widget$release_mouse()Widget$remove()Widget$remove_children()Widget$remove_class()Widget$render_lines()Widget$replace()Widget$run_action()Widget$run_process()Widget$run_worker()Widget$set()Widget$set_interval()Widget$set_state()Widget$set_timeout()Widget$toggle_class()Widget$walk()Select$new()Create a select. See dropdown().
Select$new( choices, value = NULL, prompt = "Select", id = NULL, classes = NULL, style = NULL, disabled = FALSE )
choicesChoices.
valueInitial value.
promptPrompt.
id, classes, style, disabledSee Widget.
Select$default_style()The built-in style.
Select$default_style()
Select$default_bindings()Enter, Space and Down open the list.
Select$default_bindings()
Select$open()Open the drop-down list.
Select$open()
Select$action_open()Action used by the bindings.
Select$action_open()
Select$on_click()Clicking opens the list.
Select$on_click(event)
eventA MouseEvent.
Select$render()The selected label and an arrow.
Select$render()
Select$clone()The objects of this class are cloneable with this method.
Select$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.