- @Experimental()
Provides the offset of this element's borderEdge relative to the
specified parent
.
This is the Dart equivalent of jQuery's
position method. Unlike jQuery's
position, however, parent
can be any parent element of this
,
rather than only this
's immediate offsetParent. If the specified
element is not an offset parent or transitive offset parent to this
element, an ArgumentError is thrown.
Source
@Experimental() Point offsetTo(Element parent) { return Element._offsetToHelper(this, parent); }