Edit this page

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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy