items.className String

Defines a set CSS classes for the item.

Example - set the type for an item

<div id="appbar"></div>
<script>
$("#appbar").kendoAppBar({
    items: [
        {
            type: "contentItem",
            className: "k-first k-one"
            template: "<span><input /><span>"
        },
        {
            type: "spacer"
        },
        {
            type: "contentItem",
            template: "<h1>This is just a text</h1>"
        },
    ]
});
</script>
In this article
Not finding the help you need? Improve this article