Closed bjerzyna closed 9 years ago
I needed to store the signature in localStorage.
The onDrawEnd event is not quite right as the input value is only updated after the event is triggered, so I suggest this change to call $(settings.output, context).change() in stopDrawing().
Would it make more sense to have an onChange() method instead of triggering the change event on the <input>?
onChange()
<input>
I needed to store the signature in localStorage.
The onDrawEnd event is not quite right as the input value is only updated after the event is triggered, so I suggest this change to call $(settings.output, context).change() in stopDrawing().