property scrollTop

(r/w) int32 scrollTop;

Typ

Zugriff

This property sets and gets the vertical scroll offset of the document. This is an easy way of setting just the vertical portion without the need of calling scrollTo with both vertical and horizontal parameters. This property can also be used to read the vertical scroll offset.

See scrollHeight for an usage example.