cleave: Cleave

Description Usage Arguments Value See Also

View source: R/cleave.R

Description

Customise hard error messages.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
cleave(
  html = NULL,
  color = NULL,
  bg_color = NULL,
  duration = NULL,
  center_vertical = NULL,
  center_horizontal = NULL,
  ids = NULL,
  silent_errors = FALSE,
  session = shiny::getDefaultReactiveDomain()
)

Arguments

html

Html content to display instead of error messages, if NULL the original message is displyed.

color

Color of error message text.

bg_color

Background color of error message overlay. If NULL will be transparent.

duration

Duration of animation showing the error message, set to 0 to have none.

center_vertical, center_horizontal

Whether to center the message vertically and horizontally, a boolean.

ids

Ids of elements to apply the cleave to. If NULL applies to all error messages.

silent_errors

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.

session

A valid shiny session.

Value

None

See Also

chisel() for soft error messages.


sever documentation built on July 15, 2021, 1:06 a.m.