@mocanvas/editor · constant

tlenv

declare const tlenv: Readonly<TLEnvironment>

Browser and platform facts, decided at load.

Frozen: everything on it is a constant for the life of the page, and a host that patches one is masking a detection bug rather than fixing it.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.