Skip to content

Commit bbf4c94

Browse files
committed
(docs): add link to trim-canvas
- not all users might know what trimmed means and I think it's good to reference anyway - maybe `trim-canvas` should have a GIF of trimming in addition to the new demo?
1 parent ccf8841 commit bbf4c94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ All API methods require a ref to the SignatureCanvas in order to use and are ins
8686
- `on()`: `void`, rebinds all event handlers
8787
- `getCanvas()`: `canvas`, returns the underlying canvas ref.
8888
Allows you to modify the canvas however you want or call methods such as `toDataURL()`
89-
- `getTrimmedCanvas()`: `canvas`, creates a copy of the canvas and returns a trimmed version of it, with all whitespace removed.
89+
- `getTrimmedCanvas()`: `canvas`, creates a copy of the canvas and returns a [trimmed version](https://github.com/agilgur5/trim-canvas) of it, with all whitespace removed.
9090
- `getSignaturePad()`: `SignaturePad`, returns the underlying SignaturePad reference.
9191

9292
The API methods are _mostly_ just wrappers around [`signature_pad`'s API](https://github.com/szimek/signature_pad#api).

0 commit comments

Comments
 (0)