autoHideAfter Number (default: 5000)

Indicates the period in milliseconds after which a notification disappears automatically. Setting a zero value disables this behavior.

Example - set autoHideAfter to 3 seconds

<span id="notification"></span>
<script>
$("#notification").kendoNotification({
    autoHideAfter: 3000
});
$("#notification").getKendoNotification().show("Kendo Notification");
</script>

Example - disable automatic hiding

<span id="notification"></span>
<script>
$("#notification").kendoNotification({
    autoHideAfter: 0
});
$("#notification").getKendoNotification().show("Kendo Notification");
</script>
In this article
Not finding the help you need? Improve this article