beforeHide

Fires before the mobile View becomes hidden.

    <div data-role="view" id="foo" data-before-hide="beforeHide">
        Bar
    </div>


    <div id="bar" data-role="view">
        The bar view
    </div>

    <script>
    var app = new kendo.mobile.Application();
    function beforeHide(e) {
    /* The result can be observed in the DevTools(F12) console of the browser. */
        console.log('foo hidden');
    }
    </script>

Event Data

e.view kendo.mobile.ui.View

The mobile view instance

In this article