TableOfContentsFactory | @jupyterlab (original) (raw)
Class TableOfContentsFactory<W, H>Abstract
Type Parameters
- W extends IDocumentWidget
- H extends TableOfContents.IHeading = TableOfContents.IHeading
Hierarchy (View Summary)
- TableOfContentsFactory
Implements
Index
Constructors
constructor
- new TableOfContentsFactory<
W extends IDocumentWidget<Widget, DocumentRegistry.IModel>,
H extends TableOfContents.IHeading = TableOfContents.IHeading,
>(
tracker: IWidgetTracker<W>,
): TableOfContentsFactory<W, H> Type Parameters
- W extends IDocumentWidget<Widget, DocumentRegistry.IModel>
- H extends TableOfContents.IHeading = TableOfContents.IHeading
Returns TableOfContentsFactory<W, H>
Properties
Protected
tracker
Methods
Protected
Abstract
_createNew
- _createNew(
widget: W,
configuration?: TableOfContents.IConfig,
): TableOfContentsModel<H, W> TableOfContentsModel<H, W>
Returns
createNew
- createNew(
widget: W,
configuration?: TableOfContents.IConfig,
): TableOfContentsModel<H, W> TableOfContentsModel<H, W>
Returns
The table of contents model
isApplicable
- isApplicable(widget: Widget): boolean
Returns boolean
boolean indicating a ToC can be generated