this service is for managing the viewport and scroll state of a notebook editor. its used both for restoring scroll state after reopening an editor and for cell to check if they are in the viewport.

Implements

  • Disposable

Constructors

Properties

_viewportElement: undefined | HTMLDivElement
onDidChangeViewport: Event<void> = ...
onDidChangeViewportEmitter: Emitter<void> = ...
resizeObserver: ResizeObserver

Accessors

Methods