fix: tweak readme for syncable elements (#3444)

* fix: tweak readme for syncable elements

* fix

* tweak

Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
Aakansha Doshi 2021-04-13 15:04:02 +05:30 committed by GitHub
parent d126d04d17
commit d5a270f643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -601,7 +601,7 @@ getSyncableElements(elements: <a href="https://github.com/excalidraw/excalidraw
import { getSyncableElements } from "@excalidraw/excalidraw";
```
This function returns all the deleted elements of the scene.
Returns all elements including deleted ones, excluding elements which are are invisibly small (e.g. width & height are zero). Useful when you want to sync elements during collaboration.
#### `getElementMap`

View File

@ -626,7 +626,7 @@ getSyncableElements(elements: <a href="https://github.com/excalidraw/excalidraw
import { getSyncableElements } from "@excalidraw/excalidraw";
```
This function returns all the deleted elements of the scene.
Returns all elements including deleted ones, excluding elements which are are invisibly small (e.g. width & height are zero). Useful when you want to sync elements during collaboration.
#### `getElementMap`