Toast Model
SnotifyToast
on
- type:
Function
Signature:
```
(
event: SnotifyEvent,
action: (toast: this) => void
) => this
```
Subscribing to toast events.
Unsubscribing automatically when toast destroyed
value
- type:
stringreadonly - default:
''It is defined only if toast type ===
prompt. Another case it staysundefined
valid
- type:
boolean - default:
undefinedFinds out if toast is valid or not.
Helper class to supportpromptinput validation.
ApplysnotifyToast--validorsnotifyToast--invalidclass names
id
- type:
number - default:
<Automatically generated value>SnotifyService automatically generates this uuid
title
- type:
string - default:
nullToast title
body
- type:
string - default:
nullBody text content
config
- type: SnotifyToastConfig
- default:
<Automatically generated value>Merges default config with toast type config