New to Kendo UI for Vue? Start a free 30-day trial

Represents the props of the Kendo UI for Vue Notification component.

Definition

Package:@progress/kendo-vue-notification

Properties

Sets the aria-label attribute of the Notification.

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', ... }
Default:

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.

Parameters:eventNotificationEvent

Sets the theme color of the Notification. The Notification uses it only when type.style is none.

The available options are:

  • base
  • primary
  • secondary
  • tertiary
  • error
  • info
  • success
  • warning
  • inverse

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 to none.
  • icon?: 'true'|'false'. Defaults to true.
Default:

{ style: 'none', icon: true }