addCss

adds a CSS class to a DOM node

void addCss(HTMLElement node,string name);
nodeHTMLElementa DOM node
namestringthe name of a CSS class to apply

Example

//any node
webix.html.addCss(node,"mycssrule");
 
//Webix component top node
webix.html.addCss( $$("dt").getNode(), "mycss");

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.