mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-12 03:50:06 +02:00
feat: allow readonly actions to be used in viewMode (#5982)
This commit is contained in:
@@ -164,4 +164,7 @@ export interface Action {
|
||||
value: any,
|
||||
) => boolean;
|
||||
};
|
||||
/** if set to `true`, allow action to be performed in viewMode.
|
||||
* Defaults to `false` */
|
||||
viewMode?: boolean;
|
||||
}
|
||||
|
Reference in New Issue
Block a user