Expand docs on visibility change

For #105873
This commit is contained in:
Matt Bierner
2020-09-01 13:36:13 -07:00
parent 1dd6b285f9
commit fbf81bdd1b
+8 -1
View File
@@ -2076,7 +2076,14 @@ declare module 'vscode' {
readonly visible: boolean;
/**
* Event fired when the visibility of the view changes
* 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`.
*/
readonly onDidChangeVisibility: Event<void>;
}