Function drekInserter

  • Creates a rendering target that inserts content to parent node at particular position.

    Parameters

    • host: Node

      A node to insert content to.

    • before: null | Node

      A child node of host one to insert the content before, or null to append it as the last child of host node.

    • context: DrekContext<[DrekContentStatus]> = ...

      Custom rendering context. Defaults to host node context.

    Returns DrekTarget

    Rendering target.

Generated using TypeDoc