Represents a citation.

Implements

Constructors

Properties

Methods

Constructors

  • Creates a new instance of the class.

    Parameters

    • Optionaltitle: string

      The title.

    • Optionalsubtitle: string

      The subtitle.

    • Optionalanchor: Anchor

      The Anchor.

    Returns Citation

Properties

anchor?: Anchor
subtitle?: string
title?: string

Methods

  • Converts this Citation to JSON.

    Returns {
        [k: string]: unknown;
    }

    JSON object

    • [k: string]: unknown