documentOffset property - Element class - dart:html library (original) (raw)
Provides the coordinates of the element relative to the top of the document.
This method is the Dart equivalent to jQuery'soffset method.
Implementation
Point get documentOffset => offsetTo(document.documentElement!);