getTextSize

changes the text size in an HTML node and returns the result

object getTextSize(string text,string css);
textstringthe text of the HTML node
cssstringthe css style applied to the text
objectan object with the text width and height

Example

var text_size = webix.html.getTextSize("text", "css");

Back to top