chordsheetjs
    Preparing search index...

    Class Paragraph

    Represents a paragraph of lines in a chord sheet

    Index

    Properties

    lines: Line[] = []

    The Line items of which the paragraph consists

    Accessors

    • get contents(): string

      Returns the paragraph contents as one string where lines are separated by newlines

      Returns string

    • get label(): string | null

      Returns the label of the paragraph. The label is the value of the first section delimiter tag in the first line.

      Returns string | null

    Methods

    • Indicates whether the paragraph only contains literals. If true, contents can be used to retrieve the paragraph contents as one string where lines are separated by newlines.

      Returns boolean