Browse Source

docs: toggleSidebar api fix (#7575)

pull/7599/head
halocean96 2 years ago committed by GitHub
parent
commit
f3f8217125
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx

2
dev-docs/docs/@excalidraw/excalidraw/api/props/excalidraw-api.mdx

@ -37,7 +37,7 @@ You can use this prop when you want to access some [Excalidraw APIs](https://git @@ -37,7 +37,7 @@ You can use this prop when you want to access some [Excalidraw APIs](https://git
| [setActiveTool](#setactivetool) | `function` | This API can be used to set the active tool |
| [setCursor](#setcursor) | `function` | This API can be used to set customise the mouse cursor on the canvas |
| [resetCursor](#resetcursor) | `function` | This API can be used to reset to default mouse cursor on the canvas |
| [toggleMenu](#togglemenu) | `function` | Toggles specific menus on/off |
| [toggleSidebar](#toggleSidebar) | `function` | Toggles specific sidebar on/off |
| [onChange](#onChange) | `function` | Subscribes to change events |
| [onPointerDown](#onPointerDown) | `function` | Subscribes to `pointerdown` events |
| [onPointerUp](#onPointerUp) | `function` | Subscribes to `pointerup` events |

Loading…
Cancel
Save