addCss

adds a CSS class to a DOM node

void addCss(HTMLElement node,string name);
node
HTMLElementa DOM node name
stringthe 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
  • API
  • 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.