Documentation
    Preparing search index...
    Index
    frets: number[]
    grid: Point[][]
    strings: number[]
    wrapper: Selection<
        SVGGElement,
        FretboardPosition,
        HTMLElement,
        FretboardPosition,
    >
    • Clears the current positions

      Returns Fretboard

      The current Fretboard instance.

    • Clears all the current highlight areas.

      Returns Fretboard

      The current Fretboard instance.

    • Returns the chord positions and corresponding note names in the given system context.

      Parameters

      Returns FretboardPosition[]

      The positions for the passed input.

    • Renders the fretboard with the current positions.

      Returns Fretboard

      The current Fretboard instance

    • Renders a chord diagram (i.e. a cropped fretboard with just the chord positions)

      Parameters

      Returns Fretboard

      The current Fretboard instance.

    • Renders the positions of the passed scale.

      Parameters

      • __namedParameters: ScaleParams

        The expected parameters.

      Returns Fretboard

      The current Fretboard instance.

    • Controls all the style parameters.

      Parameters

      • __namedParameters: StyleParams

        The expected parameters.

      Returns Fretboard

      The current Fretboard instance.