Customise hard error messages.
cleave(
html = NULL,
color = NULL,
bg_color = NULL,
duration = NULL,
center_vertical = NULL,
center_horizontal = NULL,
ids = NULL,
silent_errors = FALSE,
session = shiny::getDefaultReactiveDomain()
)
Html content to display instead of error messages,
if NULL
the original message is displyed.
Color of error message text.
Background color of error message overlay.
If NULL
will be transparent.
Duration of animation showing the error message, set to 0
to have none.
Whether to center the message vertically and horizontally, a boolean
.
Ids of elements to apply the cleave to. If NULL
applies to all error messages.
Set to TRUE to also cleave silent errors: errors that are raised by shiny::validate()
.
Alternatively you might want to use chisel()
to specifically stylise those messages.
A valid shiny session.
None
chisel()
for soft error messages.