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>
In this article
Not finding the help you need? Improve this article