|
@@ -48,7 +48,9 @@ export class OpenSheetMusicDisplay {
|
|
|
* For defaults see the OSMDOptionsStandard method in the [[OSMDOptions]] class.
|
|
|
*/
|
|
|
constructor(container: string | HTMLElement,
|
|
|
- options: IOSMDOptions = OSMDOptions.OSMDOptionsStandard()) {
|
|
|
+ options: IOSMDOptions = OSMDOptions.OSMDOptionsStandard(),
|
|
|
+ rules: EngravingRules = new EngravingRules()) {
|
|
|
+ this.rules = rules;
|
|
|
// Store container element
|
|
|
if (typeof container === "string") {
|
|
|
// ID passed
|