Hierarchy

  • DeclarativeNodeLoader

Implements

Constructors

Properties

Methods

Constructors

Properties

plugin: PagesPlugin = ...

Methods

  • Check if the node can be loaded by this loader.

    Returns

    true if this loader can be used to load this node.

    Parameters

    • rawNode: UnknownNode

      The node to check.

    Returns boolean

  • Expand & yield menus & pages from the given node.

    Yields

    a list of nodes along with their parents

    Parameters

    • rawNode: DeclarativeNodeLoader.IRawNode

      The node to register.

    • context: IRegisterNodeContext<IIOPath>

      The context of the current collection. Contains an utility to recurse, a list of parent nodes, and an arbitrary data store generated by parents.

    Returns NodeGenerator

Generated using TypeDoc