Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TableOfContentsRegistry

Class for registering widgets for which we can generate a table of contents.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Private _collapseChanged

_collapseChanged: any

Private _generators

_generators: any

Accessors

collapseChanged

Methods

add

  • Adds a table of contents generator to the registry.

    Parameters

    • generator: IGenerator<Widget>

      table of contents generator

    Returns void

find

  • Finds a table of contents generator for a widget.

    Notes

    • If unable to find a table of contents generator, the method return undefined.

    Parameters

    • widget: Widget

      widget

    Returns IGenerator<Widget>

    table of contents generator

Generated using TypeDoc