mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: support setting/resetting cursor from host (#5215)
* Support setting/resetting cursor type from host * add docs * minor
This commit is contained in:
parent
92f30f7ed6
commit
07ebd7c68c
6 changed files with 63 additions and 7 deletions
|
@ -466,6 +466,8 @@ export type ExcalidrawImperativeAPI = {
|
|||
ready: true;
|
||||
id: string;
|
||||
setActiveTool: InstanceType<typeof App>["setActiveTool"];
|
||||
setCursor: InstanceType<typeof App>["setCursor"];
|
||||
resetCursor: InstanceType<typeof App>["resetCursor"];
|
||||
};
|
||||
|
||||
export type DeviceType = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue