@dsebastien/music-notation 0.1.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,14 @@
1
1
  /**
2
2
  * The browser bundle (`music-notation.publish.min.js`): injects the styles and renders every
3
3
  * notation block on the page, now and as it changes. Exposes the API as `window.MusicNotation`.
4
+ * A page sets defaults (orientation, left-handed) in `window.musicNotationOptions` before loading it.
4
5
  */
5
6
  import * as api from '../index.js';
6
7
  import { lookupGuitarVoicing } from '../voicings/index.js';
7
8
  declare global {
8
9
  interface Window {
9
10
  musicNotationLoaded?: boolean;
11
+ musicNotationOptions?: unknown;
10
12
  MusicNotation?: typeof api & {
11
13
  lookupGuitarVoicing: typeof lookupGuitarVoicing;
12
14
  stop: () => void;