getElemPos

Returns the position of an object as an [x,y] coordinate:

<script>
   var coord = widget.getElemPos(obj);
   // x = coord[0] ; y = coord[1]
</script>


Page Information

  • 1 year ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts