mirror of https://github.com/luileito/jsketch.git
Updated doc
This commit is contained in:
parent
c4cae4d8e0
commit
f645ced6da
|
|
@ -163,6 +163,8 @@
|
|||
* // This will remove strokes data as well.
|
||||
* $canvas.clear();
|
||||
* // If you only need to clear the canvas, just do:
|
||||
* $canvas.clear(true);
|
||||
* // Or, alternatively:
|
||||
* $canvas.sketchable('handler', function(elem, data) {
|
||||
* data.sketch.clear();
|
||||
* });
|
||||
|
|
|
|||
Loading…
Reference in New Issue