Edit this page

scrollHeight

Returns the height in pixels of the scroller content.

Example

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

<script>
function getHeight() {
  console.log($("#scroller").data("kendoMobileScroller").scrollHeight());
}

new kendo.mobile.Application();
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy