returns the position of an HTML element on the page and its size
node | HTMLElement | an HTML element |
object | the position object of an HTML element |
var elem = document.getElementById("myDiv")
webix.html.offset(elem); // returns {y: 20, x: 28, width: 600, height: 600}
The returned object contains the following properties: