chisel {sever}R Documentation

Chisel

Description

Customise silent error messages: messages raised by shiny::validate() and shiny::need(). If used in combination with cleave() make sure you are setting silent_errors to FALSE.

Usage

chisel(
  html = NULL,
  color = NULL,
  bg_color = NULL,
  duration = NULL,
  center_vertical = NULL,
  center_horizontal = NULL,
  ids = NULL,
  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

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

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.

session

A valid shiny session.

Value

None


[Package sever version 0.0.7 Index]