These docs are for an old release.
Info on upgrading to v5
updateSize
Immediately forces the calendar to readjusts its size.
calendar.updateSize()
This is useful in a scenario where the calendar lives inside of an element, and that element’s width has been dynamically changed. Call updateSize
to help the calendar compensate. This method is also useful if you have handleWindowResize turned off.