UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

20 lines (19 loc) 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Tap = void 0; /** * The `<tap>` element indicates a tap on the fretboard. * * See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/technical/ */ class Tap { element; constructor(element) { this.element = element; } /** Returns the symbol for the tap. Defaults to 'T'. */ getSymbol() { return this.element.content().withDefault('T').str(); } } exports.Tap = Tap;