The showHtml() method opens the modal dialog and displays the specified HTML content.
DayPilot.Modal.showHtml(html: string | HTMLElement): voidhtml (string | HTMLElement) - HTML content or an element to display in the modal dialog
const modal = new DayPilot.Modal({
// ...
});
modal.showHtml("<div>Hello</div>");