Table of content model for Markdown files.
A signal emitted when any model state changes.
Current active entry.
table of contents active entry
Type of document supported by the model.
data-document-type attribute with this value will be set
on the tree view
List of headings.
table of contents list of headings
Whether the model is active or not.
An active model means it is displayed in the table of contents. This can be used by subclass to limit updating the headings.
Whether the model needs to be kept up to date or not.
This is set to
true if the ToC panel is visible and
false if it is hidden. But some models may require
to be always active; e.g. to add numbering in the document.
Whether the model gets updated even if the table of contents panel is hidden or not.
For example, ToC models use to add title numbering will set this to true.
Test whether the model is disposed.
Dispose the model.
Refresh the headings list.
Set a new active heading.
The new active heading
Whether to emit the activeHeadingChanged signal or not.
Model configuration setter.
Callback on heading collapse.
Generated using TypeDoc