@vttforge/core / NotificationsApi
Interface: NotificationsApi ​
ui.notifications.
Methods ​
clear() ​
clear():
void
Returns ​
void
error() ​
error(
message,options?):Readonly<Notification>
Parameters ​
message ​
string | Error
options? ​
Returns ​
Readonly<Notification>
has() ​
has(
notification):boolean
Parameters ​
notification ​
number | Notification
Returns ​
boolean
info() ​
info(
message,options?):Readonly<Notification>
Parameters ​
message ​
string
options? ​
Returns ​
Readonly<Notification>
notify() ​
notify(
message,type?,options?):Notification
Parameters ​
message ​
string
type? ​
options? ​
Returns ​
remove() ​
remove(
notification):void
Parameters ​
notification ​
Returns ​
void
success() ​
success(
message,options?):Readonly<Notification>
Parameters ​
message ​
string
options? ​
Returns ​
Readonly<Notification>
update() ​
update(
notification,update):void
Parameters ​
notification ​
update ​
Partial<Notification>
Returns ​
void
warn() ​
warn(
message,options?):Readonly<Notification>
Parameters ​
message ​
string
options? ​
Returns ​
Readonly<Notification>