View source: R/positional_input.R
A Shiny input behaving similarly to actionButton
. In
addition to input$<inputId>
you may use input$<inputId>_position
,
which returns a list
1 | positional_input(inputId, label, icon = NULL)
|
inputId |
The |
label |
The contents of the positional input - usually a text label, but you could also use any other HTML, like an image. |
icon |
An optional |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.