collapse

Fires when the user collapses the content.

    <div id="home" data-role="view" data-init="onInit">
        <div id="collapsible" data-role="collapsible" data-collapse="collapseHandler">
            <h2>Header</h2>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
        </div>
    </div>


    <script>
        var app = new kendo.mobile.Application();

        function collapseHandler() {
    /* The result can be observed in the DevTools(F12) console of the browser. */
            console.log("expand");
        }
    </script>
In this article