onDidCloseNotebookDocument property

Event<NotebookDocument> get onDidCloseNotebookDocument

An event that is emitted when a {@link NotebookDocumentnotebook} is disposed.

Note 1: There is no guarantee that this event fires when an editor tab is closed.

Note 2: A notebook can be open but not shown in an editor which means this event can fire for a notebook that has not been shown in an editor.

Implementation

_i3.Event<_i3.NotebookDocument> get onDidCloseNotebookDocument =>
    _i4.getProperty(
      this,
      'onDidCloseNotebookDocument',
    );