Spaces:
Paused
Paused
Download dev-docs/docs/codebase/frames.mdx from Leon4gr45/excalidraw: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/spaces/Leon4gr45/excalidraw/resolve/main/dev-docs/docs/codebase/frames.mdx
- Command line
-
hf download hf://spaces/Leon4gr45/excalidraw/dev-docs/docs/codebase/frames.mdx
-
curl -L -o frames.mdx https://huggingface.co/spaces/Leon4gr45/excalidraw/resolve/main/dev-docs/docs/codebase/frames.mdx
473 Bytes
| # Frames | |
| ## Ordering | |
| Frames should be ordered where frame children come first, followed by the frame element itself: | |
| ``` | |
| [ | |
| other_element, | |
| frame1_child1, | |
| frame1_child2, | |
| frame1, | |
| other_element, | |
| frame2_child1, | |
| frame2_child2, | |
| frame2, | |
| other_element, | |
| ... | |
| ] | |
| ``` | |
| If not ordered correctly, the editor will still function, but the elements may not be rendered and clipped correctly. Further, the renderer relies on this ordering for performance optimizations. | |