Skip to content

Commit

Permalink
Expand docs on visibility change
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Sep 1, 2020
1 parent 1dd6b28 commit fbf81bd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
}
Expand Down

0 comments on commit fbf81bd

Please sign in to comment.