toastToggle: Toast Toggle

toastToggleR Documentation

Toast Toggle

Description

Show or hide a toast.

Usage

toast_show(
  id,
  animation = TRUE,
  auto_hide = TRUE,
  delay = 5000L,
  session = shiny::getDefaultReactiveDomain()
)

toast_hide(id, session = shiny::getDefaultReactiveDomain())

Arguments

id

ID of toast() to toggle.

animation

Whether to animate the toast.

auto_hide

Whether to automatically hide the toast after delay.

delay

Milliseconds after which to hide the toast (if auto_hide = TRUE).

session

A valid shiny session.


mhanf/bsutilsmodif documentation built on May 15, 2022, 12:09 a.m.