Skip to content

Commit

Permalink
emphasize vexml.renderMXL returns a promise
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredjj3 committed Feb 23, 2025
1 parent 8b0c4a9 commit d311597
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ import * as vexml from '@stringsync/vexml';
const mxl = new Blob(['some', 'valid', 'mxl', 'bytes']);
const div = document.getElementById('my-id');
const scorePromise = vexml.renderMXL(musicXML, div);
// From here, you need to await or call then() on the scorePromise to extract the score.
```

## Advanced Usage
Expand Down

0 comments on commit d311597

Please sign in to comment.