Description Usage Arguments Author(s) Examples
Create a text input with a label either left, above, or both left and above the input. With no label it becomes an 'inline' input suitable for embedding in a table.
1 2 3 4 5 6 |
inputId |
The DOM ID. |
label |
The label to display to the left of the input. |
label2 |
The optional label to display to the above of the input. |
value |
The initial value for the input. |
placeholder |
The html placeholder. |
label.style |
Inline css to apply to the left-of-input label. |
input.style |
Inline css to apply to the main input tag. |
container.style |
Inline css to apply to the outer container. |
container |
A named list of containers to apply. May length one or two, with names in c('outer', 'inner'); if length one the value will be applied to the outer container, and the inner will be a span by default. Should be either a block container 'div' or an inline container 'span'. |
Jon Katz
1 | itextInput(inputId='test', label='test label', value=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.