mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge b86d0a28f8
into 1913599594
This commit is contained in:
commit
a41570ac11
1 changed files with 5 additions and 3 deletions
|
@ -15,10 +15,12 @@ If you want to overwrite the `source` field in the `JSON` string, you can set `w
|
|||
**_Signature_**
|
||||
|
||||
<pre>
|
||||
serializeAsJSON({<br/>
|
||||
serializeAsJSON(<br/>
|
||||
elements: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/element/types.ts#L114">ExcalidrawElement[]</a>,<br/>
|
||||
appState: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/types.ts#L95">AppState</a>,<br/>
|
||||
}): string
|
||||
appState: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/types.ts#L95">AppState</a>,<br/>
|
||||
files: <a href="https://github.com/excalidraw/excalidraw/blob/master/packages/excalidraw/types.ts#L97">BinaryFiles</a>,<br/>
|
||||
type: "local" | "database"<br/>
|
||||
): string
|
||||
</pre>
|
||||
|
||||
**How to use**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue