Edit this page

width Number |String (default: null)

Defines the notifications' width. Numbers are treated as pixels.

Example - set width as a number

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

Example - set width as a string

<span id="notification"></span>
<script>
$("#notification").kendoNotification({
    width: "20em"
});
$("#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