Class CTEParsoidTransclusionTemplateNode

Extension class of ParsoidDocument's node. Used to type parsoidDocument in the below function. Since the original node is always instantiated with this, it can be assumed that parsoidDocument is a valid CTEParsoidDocument.

Hierarchy

  • Node
    • CTEParsoidTransclusionTemplateNode

Constructors

Properties

Methods

Constructors

  • Create a new ParsoidTransclusionTemplateNode.

    Parameters

    • parsoidDocument: ParsoidDocument

      The document handling this transclusion node.

    • originalElement: HTMLElement

      The original element where the data-mw of this node is found.

    • data: any

      The data-mw part.template of this node.

    • i: number

      The i property of this node.

    • Optional autosave: boolean

      Whether to automatically save parameter and target changes or not.

    Returns CTEParsoidTransclusionTemplateNode

Properties

parsoidDocument: CTEParsoidDocument

Methods

Generated using TypeDoc