EditorTableOfContentsFactory | @jupyterlab (original) (raw)
Hierarchy (View Summary)
- TableOfContentsFactory<IDocumentWidget<FileEditor>, IEditorHeading>
- EditorTableOfContentsFactory
* LaTeXTableOfContentsFactory
* MarkdownTableOfContentsFactory
* PythonTableOfContentsFactory
- EditorTableOfContentsFactory
Index
Constructors
constructor
- new EditorTableOfContentsFactory(
tracker: IWidgetTracker<
IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
>,
): EditorTableOfContentsFactory EditorTableOfContentsFactory
Returns
Properties
Protected
tracker
Methods
Protected
Abstract
_createNew
- _createNew(
widget: IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
configuration?: TableOfContents.IConfig,
): TableOfContentsModel<
IEditorHeading,
IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
> Parameters
- widget: IDocumentWidget<FileEditor, DocumentRegistry.IModel>
Optional
configuration: TableOfContents.IConfig
Returns TableOfContentsModel<
IEditorHeading,
IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
>
createNew
- createNew(
widget: IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
configuration?: TableOfContents.IConfig,
): TableOfContentsModel<
IEditorHeading,
IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
> Parameters
- widget: IDocumentWidget<FileEditor, DocumentRegistry.IModel>
Optional
configuration: TableOfContents.IConfig
Returns TableOfContentsModel<
IEditorHeading,
IDocumentWidget<FileEditor, DocumentRegistry.IModel>,
>
The table of contents model
isApplicable
- isApplicable(widget: Widget): boolean
Returns boolean
boolean indicating a ToC can be generated