getTextSize of html, Methods Webix Docs
calculates the text size in an HTML node and returns the result
object getTextSize(string|array text,string css);
text
| object | an object with the text width and height |
Example
var text_size = webix.html.getTextSize("text", "css");
Related samples
Details
You can pass an array of strings as the first parameter. In this case the method will return an object with the maximal width and height values.