New to Kendo UI for jQuery? Start a free 30-day trial

AutoCollapse

configuration

Specifies if the Drawer will be automatically collapsed when an item is clicked.

Default: true

<div id="drawer">
    <div>Content area content.</div>
</div>
<script>
    $(document).ready(function() {
        var drawerInstance = $("#drawer").kendoDrawer({
            template: `<ul><li data-role='drawer-item'><span class='k-icon k-i-star'></span><span class='item-text'>item 1</span></li><li data-role='drawer-separator'></li><li data-role='drawer-item'><span class='k-icon k-i-x-logo'></span><span class='item-text'>item 2</span></li></ul>`,
            autoCollapse: false
        }).data("kendoDrawer");

        drawerInstance.show();
    });
</script>
Not finding the help you need?
Contact Support