NotebookDocumentContentOptions class

Notebook content options define what parts of a notebook are persisted. Note

For instance, a notebook serializer can opt-out of saving outputs and in that case the editor doesn't mark a notebooks as {@link NotebookDocument.isDirtydirty} when its output has changed.

Available extensions
Annotations
  • @JS()
  • @staticInterop
  • @anonymous

Constructors

NotebookDocumentContentOptions({bool? transientOutputs, Object? transientCellMetadata, Object? transientDocumentMetadata})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transientCellMetadata Object?

Available on NotebookDocumentContentOptions, provided by the NotebookDocumentContentOptions$Typings extension

Controls if a cell metadata property change event will trigger notebook document content change events and if it will be used in the diff editor, defaults to false. If the content provider doesn't persist a metadata property in the file document, it should be set to true.
getter/setter pair
transientDocumentMetadata Object?

Available on NotebookDocumentContentOptions, provided by the NotebookDocumentContentOptions$Typings extension

Controls if a document metadata property change event will trigger notebook document content change event and if it will be used in the diff editor, defaults to false. If the content provider doesn't persist a metadata property in the file document, it should be set to true.
getter/setter pair
transientOutputs bool?

Available on NotebookDocumentContentOptions, provided by the NotebookDocumentContentOptions$Typings extension

Controls if output change events will trigger notebook document content change events and if it will be used in the diff editor, defaults to false. If the content provider doesn't persist the outputs in the file document, this should be set to true.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited