Great project -- very smooth!
When using setData the 'change' event is called and when completing a stroke 'change' event is also called. Perhaps two more events can be added 'data-set' and 'stroke-added'. This would allow for a little more information.
Definitely an edge case, but I thought it would be nice. Had a little trouble using it with angular but got it sorted out eventually.
Great project -- very smooth! When using setData the 'change' event is called and when completing a stroke 'change' event is also called. Perhaps two more events can be added 'data-set' and 'stroke-added'. This would allow for a little more information.
Definitely an edge case, but I thought it would be nice. Had a little trouble using it with angular but got it sorted out eventually.
Angular Directive