attachHTML()
adds an HTML content into a DHTMLX Popup
attachHTML(html: string): void;
Parameters:
html: string
- an HTML content to be added into a popup
Example
const popup = new dhx.Popup();
popup.attachHTML("<h1>Hello, I'm popup</h1>");
popup.show("popup");
Related sample: Popup. HTML content