Display a warning in a DOM element of choice
warn_id.Rd
Display a warning in a DOM element of choice
Arguments
- id
chr
ID of the DOM element in which to display- ...
Arguments passed on to
shinyjs::html
html
The HTML/text to place inside the element. Can be either simple plain text or valid HTML code.
add
If
TRUE
, then appendhtml
to the contents of the element; otherwise overwrite it.selector
JQuery selector of the elements to target. Ignored if the
id
argument is given.asis
If
TRUE
, use the ID as-is even when inside a module (instead of adding the namespace prefix to the ID).
- ms
The number of milliseconds to wait (1000 milliseconds = 1 second) before running the expression.
- warn_text
chr/shiny.tags
HTML or shiny.tags to render to HTML to display in the DOM
See also
Other general:
browser_server()
,
browser_ui()
,
is_shiny.tag()
,
ns_custom()
,
ns_find()
,
path_strip_shiny()
,
path_strip_to()
,
tab_ns_extract()