Skip to contents

A notification shown by app$notify().

Super classes

Widget -> Label -> Toast

Public fields

severity

"information", "success", "warning" or "error".

Methods

Inherited methods


Toast$new()

Create a toast (use app$notify()).

Usage

Toast$new(message, title = NULL, severity = "information")

Arguments

message

Text.

title

Optional title.

severity

Severity.


Toast$default_style()

The built-in style.

Usage

Toast$default_style()


Toast$on_click()

Clicking closes the toast.

Usage

Toast$on_click(event)

Arguments

event

A MouseEvent.


Toast$clone()

The objects of this class are cloneable with this method.

Usage

Toast$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.