Documentation

createCss

converts a set of CSS rules to an active CSS class

string createCss(object data);

Parameters

dataobjectthe hash of CSS rules

Returns

stringthe name of a new CSS class

See also

Example

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

Back to top