@stringsync/vexml
Version:
MusicXML to Vexflow
22 lines (21 loc) • 692 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DownBow = void 0;
const enums_1 = require("./enums");
/**
* The `<down-bow>` element represents the symbol that is used both for down-bowing on bowed instruments, and
* down-stroke on plucked instruments.
*
* See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/down-bow/
*/
class DownBow {
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.DownBow = DownBow;