attachHTML()
adds an HTML content into a DHTMLX Window
attachHTML(html: string): void;
Parameters:
html: string
- an HTML content to be added into a window
Example
const dhxWindow = new dhx.Window({title: "Window"});
const html = "<h1>Header</h1><p>paragraph</p>";
dhxWindow.attachHTML(html);
dhxWindow.show();
Related sample: Window. Attach HTML