dateFormat |
date-format |
Specifies if the notification date format shows time passed or displays date as a static string |
string |
'timeago' |
datetime |
-- |
Specifies the notification date based on standard ISO 8601. |
string & { __isISO8601DateFormat: "ISO8601Date"; } | undefined |
undefined |
deletable |
deletable |
Specifies if the component is dismissable or not, it should be set to true by default is used with it's parent component mds-push-notifications
|
boolean |
true |
icon |
icon |
Specifies the icon to be displayed |
string | undefined |
undefined |
initials |
initials |
The user's inizials displayed if there's no image available, initials will override tone and variant senttings to keep user recognizable from others |
string | undefined |
undefined |
message |
message |
Specifies the message of the component |
string |
'Nessun messaggio disponibile' |
preview |
preview |
Specifies if the src attribute is used to show a the image as avatar or full image |
"avatar" | "image" | undefined |
'image' |
src |
src |
Specifies the path to the image |
string | undefined |
undefined |
subject |
subject |
Specifies the subject of the component |
string | undefined |
undefined |
tone |
tone |
Specifies the color tone of the component |
"strong" | "weak" | undefined |
'weak' |
variant |
variant |
Specifies the color variant of the component |
"amaranth" | "aqua" | "blue" | "error" | "green" | "info" | "lime" | "orange" | "orchid" | "primary" | "sky" | "success" | "violet" | "warning" | "yellow" | undefined |
undefined |