| tag_Input | R Documentation |
tag_Input() was renamed to gov_tag() in shinyGovstyle 0.3.0. The tag is
a display component rather than a Shiny input, so the _Input suffix was
misleading. The arguments and output are unchanged. tag_Input() will be
removed in shinyGovstyle 1.0.0.
tag_Input(inputId, text, colour = "navy")
inputId |
The id assigned to the component's root element. For Shiny
input components this is also the name used to access the value via
|
text |
The text in the tag |
colour |
The colour of the tag. Default is navy. Other options are grey, green, teal, blue, purple, magenta, red, orange and yellow. Any other value gives a warning listing these options |
a tag HTML shiny tag object
# Before
# tag_Input("tag1", "Complete")
# After
gov_tag("tag1", "Complete")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.