Edit this page

resize

Adjusts the widget layout to match the size of the container.

Example

<div id="qrcode" style="width: 150px; height: 150px;"></div>
<script>
    $("#qrcode").kendoQRCode({
      value: "FOO"
    });

    $("#qrcode")
       .css({ width: "600px", height: "300px" })
       .data("kendoQRCode").resize();
</script>

Parameters

force Boolean optional

Defines whether the widget should proceed with resizing even if the element dimensions have not changed.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy