| insert_text | R Documentation |
insert_text() was renamed to inset_text() in shinyGovstyle 0.3.0 to
match the name of the GOV.UK Design System component. It will be removed in
shinyGovstyle 1.0.0.
insert_text(inputId, content, text = lifecycle::deprecated())
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
|
content |
Content to display in the inset. Accepts a plain character
string, or |
text |
an inset text HTML shiny tag object
# Before
# insert_text(inputId = "note", content = "Some supporting text")
# After
inset_text(inputId = "note", content = "Some supporting text")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.