View source: R/utils_URL_Input.R
urlInput_UI | R Documentation |
URL Shiny input module. Implements elementary test to get a valid URL.
urlInput_UI(id, label = "URL", width = "100%") urlInput(id)
id |
(character) shiny module inputId. |
label |
(character) display label for the control, or NULL for no label. |
width |
(character) the width of the input, e.g. '400px', or '100%'; see validateCssUnit(). |
(output of calling the module part) If input is a valid URL (regex-tested + curl-tested), returns input. Else, returns NA.
urlInput
:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.