input_text | R Documentation |
Adds an direct text input element to a website.
input_text(label, id = label, ..., default = NULL, note = NULL,
multiline = FALSE, class = NULL, floating_label = TRUE)
label |
Label of the input for the user. |
id |
Unique ID of the element to be created. |
... |
Other attributes to add to the input. |
default |
Default value of the input, which will appear as a placeholder. |
note |
Text to display as a tooltip for the input or textarea. |
multiline |
Logical; if |
class |
Class names to add to the input's list. |
floating_label |
Logical; if |
A character vector of the contents to be added.
## Not run:
input_text("Enter Text:", "entered_text")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.