visible Boolean

Holds information about the current state of the Drawer. If it is currently opened then the visible field will be set to true.

Example - get the current Drawer state

<button id='show'>Show</button>
<div id="drawer">
        <div>Content area content.</div>
        $(document).ready(function() {
            var drawerInstance = $("#drawer").kendoDrawer({
                mode: "push",
                template: `<ul><li data-role='drawer-item'><span class='k-icon k-i-star-outline'></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-twitter'></span><span class='item-text'>item 2</span></li></ul>`,
                position: 'left'

            $('#show').click(function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
In this article