warning

This is a shorthand method for show(data, "warning")

Example

<div id="notification"></div>
<script>
$("#notification").kendoNotification();

var notification = $("#notification").getKendoNotification();

// Show warning notification with string message
notification.warning("Please review your input before proceeding");

// Show warning notification with object data
notification.warning({
    title: "Warning",
    message: "Some fields are incomplete"
});
</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
warning
Not finding the help you need?
Contact Support