Documentation

Scroll

save

Saves the scrollbar position in the document to the temporary variable.

this.app.scroll.save();

restore

Restores the scrollTop position of the scrollbar in the document if it was previously saved using the scroll.save method.

this.app.scroll.restore();