Skip to main content

attachHTML()

adds an HTML content into a dhtmlxWindow

attachHTML(html: string): void;

Parameters:

html: string - an HTML content to be added into a window

Example

var dhxWindow = new dhx.Window({title: "Window"});var html = "<h1>Header</h1><p>paragraph</p>";dhxWindow.attachHTML(html);dhxWindow.show();