Skip to content

Commit 9208c8c

Browse files
author
HarshKhandeparkar
committed
docs<RealDrawBoard>: add docs for allowUndo
1 parent 31605e4 commit 9208c8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ Apart from those, the following are additional options that can be passed on to
237237
238238
- `eraserSize`(*Number*) (Default: `2`): Determines the size of the eraser.
239239
240+
- `allowUndo`(*Boolean*) (Default: `false`): Determines the maximum possible undos. (Use a smaller number on devices with less RAM)
241+
240242
- `maxUndos`(*Number*) (Default: `15`): Determines the maximum possible undos. (Use a smaller number on devices with less RAM)
241243
242244
- `mode` (*'paint' | 'draw'*) (Default: `'paint'`): Determines whether the board paints or erases on mouse drag.

0 commit comments

Comments
 (0)