Edit this page

resize

Recalculates the content height.

Example

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

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

    function onExpand() {
        var that = this;
        setTimeout(function() {
            that.resize();
        });
    }
</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