WangShayne / vue3-signature

Electronic signature for Vue3
90 stars 14 forks source link

Re-render on re size? #27

Open Edim7 opened 1 month ago

Edim7 commented 1 month ago

Is there a way to re render the image of the signature on resize. I realise that there is a clear, which clears the whole signature panel but if the signature is loaded from a url and it is disabled so that no further changes are possible a method to re-render on resize would be useful to have. I guess it would just be a combination of the clear and loadFromUrl or something like that.

If provided with some basic pointers on where to start I'm up for implementing this as well

WangShayne commented 1 month ago

You can try save it before you resize,and load the saved image again when resize completed