error
This is a shorthand method for show(data, "error")
Example
<div id="notification"></div>
<script>
$("#notification").kendoNotification();
var notification = $("#notification").getKendoNotification();
// Show error notification with string message
notification.error("An error occurred while processing your request");
// Show error notification with object data
notification.error({
title: "Error",
message: "Failed to save data"
});
</script>
Parameters
data Object|String|Function
Required. The string content for the notification; or the object with the values for the variables inside the notification template; or the function, which returns the required string or an object.
In this article