NotificationProps
Represents the props of the Kendo UI for Vue Notification component.
Definition
Package:@progress/kendo-vue-notification
Properties
ariaLabel?
string
Sets the aria-label attribute of the Notification.
closable?
any
Sets if the user has to close the Notification.
When you set it to true, the Notification renders a Close button.
When you set it to an object, the Notification renders a Close button
and adds the object to the default props of the button.
The available options are:
- (Default)
false true{ title: 'Hide', ... }
false
dir?
string
Sets the dir HTML attribute of the Notification. Use it to switch between LTR and RTL.
onClose?
(event: NotificationEvent) => void
Fires when the user clicks the Close button.
themeColor?
string
Sets the theme color of the Notification. The Notification uses it only when type.style is none.
The available options are:
baseprimarysecondarytertiaryerrorinfosuccesswarninginverse
type?
{ style?: "none" | "base" | "primary" | "secondary" | "tertiary" | "success" | "error" | "warning" | "info" | "inverse"; icon?: boolean }
Sets the type of the Notification (see example).
The available options are:
-
style: 'none'|'base'|'primary'|'secondary'|'tertiary'|'success'|'error'|'warning'|'info'|'inverse'. Defaults tonone.
icon?: 'true'|'false'. Defaults totrue.
{ style: 'none', icon: true }