a more complex canvas component

18 views
Skip to first unread message

Zoltan Komives

unread,
Dec 20, 2013, 9:58:33 AM12/20/13
to compo...@googlegroups.com
Hi, 

I've created a little demo application of displaying music notation on Canvas. Now thinking how to make this reusable. The demo is here, the and code is on github.

The idea is that the component is presented with the music encoded in a specific XML format, then the component displays it and adds dynamic functionality.
Do you think Component is suitable for making this functionality compactly reusable? (I am thinking wrapping everything, including the side bar, navigation, etc) Of course, being a pretty specific use case, I don't expect tons of users for this, but I do want to make it reusable and fairy compact. The idea behind Component seems to me that it encourages making "small pieces". This isn't quite as small as a typical Component, including jQuery dependency and other libraries like VexFlow and MEItoVexFlow

Thanks
Zoltan
Reply all
Reply to author
Forward
0 new messages