Skip to main content

css

adds style classes for the component

css?: string;

Example

var dhxWindow = new dhx.Window({    title: "Window",     css:"my_first_class my_second_class"}); 
dhxWindow.show();

Related sample: Window. Custom Styles

Note, that the DHTMLX library provides a set of own CSS classes that you can also apply to change the appearance of Window:

var dhxWindow = new dhx.Window({    title: "Window",     css:"dhx_window--bordered"}); 
dhxWindow.show();