@serenity-is/corelib / Toastr
new Toastr(
options
?):Toastr
options:
ToastrOptions
clear(
options
?):void
void
error(
message
?,title
?,opt
?):HTMLElement
string
string
HTMLElement
getContainer(
options
?,create
?):HTMLElement
boolean
= false
HTMLElement
info(
message
?,title
?,opt
?):HTMLElement
string
string
HTMLElement
publish(
args
):void
void
removeToast(
toastElement
,options
?):void
HTMLElement
void
subscribe(
callback
):void
(response
) => void
void
success(
message
?,title
?,opt
?):HTMLElement
string
string
HTMLElement
warning(
message
?,title
?,opt
?):HTMLElement
string
string
HTMLElement