DayPilot.Modal.stretch

The stretch() method adjusts the modal dialog dimensions according to the content to avoid scrollbars if possible.

Declaration

DayPilot.Modal.stretch(): void

Notes

The autoStretch mode is enabled by default. However, you may still want to call this method manually after content page changes, for example after expanding a collapsed element.

Example

DayPilot.Modal.stretch();

See Also

DayPilot.Modal.autoStretch

DayPilot.Modal Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript