Skip to content

Conversation

ywsang
Copy link
Collaborator

@ywsang ywsang commented Aug 14, 2020

Adds the vf-tuplet and vf-beam components, which correspond to the Tuplet and Beam elements in VexFlow.
These two components can be children of a vf-voice.

This PR also updates the logic inside vf-voice to account for having a <slot> for child elements. vf-voice loops over the slotted elements to maintain a reference to their order and establish counters for how many child elements it has.

These counters are used to check whether or not vf-voice has received data from all of its children, and the order is used to reconstruct the array of notes that makes up the vf-voice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant