itemsArray
Specifies the items rendered by the Drawer when the top-level template option is not set. Each item can define text, icon, state, custom attributes, per-item template functions, and nested child items through items.items. If template is configured, it takes precedence and the items configuration is ignored.
Example - configure generated Drawer items
<div id="drawer">
<div>Content area content.</div>
</div>
<script>
$("#drawer").kendoDrawer({
mode: "push",
position: "left",
items: [
{ text: "Home", icon: "home", selected: true },
{ text: "Reports", icon: "chart-bar" },
{ separator: true },
{
text: "Settings",
icon: "gear",
items: [
{ text: "Profile", icon: "user" },
{ text: "Notifications", icon: "bell" }
]
}
]
});
</script>