Interface IFactory<W, H>

Table of content model factory interface

Type Parameters

Hierarchy

  • IFactory

Implemented by

Properties

Properties

createNew: ((widget, configuration?) => TableOfContents.IModel<H>)

Type declaration

isApplicable: ((widget) => boolean)

Type declaration

    • (widget): boolean
    • Whether the factory can handle the widget or not.

      Parameters

      • widget: W

        widget

      Returns boolean

      boolean indicating a ToC can be generated

Generated using TypeDoc