The showHtml() method opens the modal dialog and displays the specified HTML content.
Declaration
DayPilot.Modal.showHtml(html: string | HTMLElement): voidParameters
html(string | HTMLElement) - HTML content or an element to display in the modal dialog
Example
const modal = new DayPilot.Modal({
// ...
});
modal.showHtml("<div>Hello</div>");See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot