module_notification: Safe way to show shiny notifications

Description Usage Arguments

View source: R/ext-shiny.R

Description

Show notification when shiny is running, and show console messages when shiny is offline

Usage

1
2
3
4
5
6
7
8
9
module_notification(
  ...,
  type = c("message", "warning", "error", "default"),
  duration = 10,
  closeBotton = TRUE,
  action = NULL,
  id,
  session = shiny::getDefaultReactiveDomain()
)

Arguments

...

messages to display

type

message type, choices are "message", "warning", "error", "default"

duration

seconds for notification to stay

closeBotton, action, id, session

passed to showNotification


dipterix/rave2 documentation built on Sept. 1, 2020, 12:07 a.m.