UNPKG

@stringsync/vexml

Version:

MusicXML to Vexflow

22 lines (21 loc) 676 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpBow = void 0; const enums_1 = require("./enums"); /** * The `<up-bow>` element represents the symbol that is used both for up-bowing on bowed instruments, and up-stroke on * plucked instruments. * * See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/up-bow/ */ class UpBow { element; constructor(element) { this.element = element; } /** Returns the placement of the upbow. Defaults to above. */ getPlacement() { return this.element.attr('placement').withDefault('above').enum(enums_1.ABOVE_BELOW); } } exports.UpBow = UpBow;