winSize

Returns the size of the viewing window as an array of form [width, height]

<script>
   var dimensions = widget.winSize();
   //dimensions[0] is width, dimensions[1] is height
</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