docx
    Preparing search index...

    Class EndnoteReferenceRun

    A run with an endnote's reference mark, its number, in the document's text.

    It refers to one of the document's endnotes by its id, or is given its endnote's content, for an endnote of its own, which is added to the document's endnotes when the run is written.

    new Paragraph({
    children: [new TextRun("A claim"), new EndnoteReferenceRun({ children: [new Paragraph("Its source.")] })],
    });

    Hierarchy (View Summary)

    • Run
      • EndnoteReferenceRun
    Index
    • get writtenAs(): readonly BaseXmlComponent[] | undefined
      Internal

      The components written in this one's place, one after another, when it can't be written as a single element, such as a run with another run in its children. Undefined when it is written as itself.

      Returns readonly BaseXmlComponent[] | undefined