Make maxLabelLength a Vue prop
nikoferraz opened this issue · 2 comments
nikoferraz commented
Right now there doesn't seem to be any way to change the maxLabelLength property, other than by going to the NPM module itself. Would it be possible to make this a prop so that we can pass a custom value?
Hironsan commented
Yes.
- Add
maxLabelLength
toVAnnotator
props. - Change valueOf method to pass
maxLabelLength
. - Pass
maxLabelLength
toLabelList.valueOf
in theVAnnotator
component.
nikoferraz commented
Thanks! It looks like it's working now. I submitted a PR related to this issue.