Back to Tldraw

Toggle focus mode

apps/examples/src/examples/editor-api/focus-mode/README.md

5.1.1243 B
Original Source

How to enable focus mode by using the editor API.


This example demonstrates how to enable focus mode when the editor mounts. Focus mode provides a distraction-free environment by hiding the UI elements and focusing on the canvas content.