Implements

Constructors

Properties

_badge: undefined | ViewBadge
_description: undefined | string
_isDisposed: boolean = false
_isVisible: boolean
_title: undefined | string
_viewType: string
_webview: WebviewImpl
handle: string
onDidChangeVisibility: Event<void> = ...

Event fired when the visibility of the view changes.

Actions that trigger a visibility change:

  • The view is collapsed or expanded.
  • The user switches to a different view group in the sidebar or panel.

Note that hiding a view using the context menu instead disposes of the view and fires onDidDispose.

onDidChangeVisibilityEmitter: Emitter<void> = ...
onDidDispose: Event<void> = ...

Event fired when the view is disposed.

Views are disposed when they are explicitly hidden by a user (this happens when a user right clicks in a view and unchecks the webview view).

Trying to use the view after it has been disposed throws an exception.

onDidDisposeEmitter: Emitter<void> = ...
onDispose: Event<void>

Accessors

Methods