scrollTop property

double get scrollTop

The Element.scrollTop property gets or sets the number of pixels by which an element's content is scrolled from its top edge. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number.

Implementation

external double get scrollTop;
set scrollTop (num value)

Implementation

external set scrollTop(num value);