The useIframe property (boolean) specifies whether an iframe is used to display modal dialog content shown using DayPilot.Modal.showHtml().
Declaration
DayPilot.Modal.useIframeDefault Value
trueNotes
This property applies only to DayPilot.Modal.showHtml(). When you display a separate page using DayPilot.Modal.showUrl(), an iframe is always used.
Example
const modal = new DayPilot.Modal();
modal.useIframe = false;
modal.showHtml("<div>Hello, world!</div>");See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot