jQuery.Range.static.rect  function     

Returns the bounding rectangle of this range.

$.Range.rect(from) -> TextRectangle
{optional:String}
  • where the coordinates should be positioned from. By default, coordinates are given from the client viewport. But if 'page' is given, they are provided relative to the page.
{TextRectangle}
  • The client rects.
© Jupiter IT - JavaScriptMVC Training and Support