createCss

converts a set of CSS rules to an active CSS class

string createCss(object data);
dataobjectthe object with CSS rules
stringthe name of a new CSS class

Example

node.className = webix.html.createCss({
     "color":"red",
     "text-align":"center"
});

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.