onDidChangeVisibility property
Event<void>
get
onDidChangeVisibility
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
.
Implementation
_i3.Event<void> get onDidChangeVisibility => _i5.getProperty(
this,
'onDidChangeVisibility',
);