height

Returns the viewport height of the scrollable element.

    <div data-role="view">
      Get Height
       <div data-role="scroller" style="width: 200px; height: 200px" id="scroller">
          <div style="height: 500px">
            Content
          </div>
        </div>
        bar
     </div>


    <script>
    function getHeight() {
    /* The result can be observed in the DevTools(F12) console of the browser. */
      console.log($("#scroller").data("kendoMobileScroller").height());
    }

    new kendo.mobile.Application();
    </script>

Returns

Number the viewport height in pixels.

In this article