@mocanvas/editor · interface

TLReactiveEnvironment

interface TLReactiveEnvironment

Environment facts that can change while the page is open.


Properties · 2

isCoarsePointer: boolean

Whether the pointer in use right now is imprecise — a finger or a pen. Drives hit-test margins and touch-target sizes.

supportsP3ColorSpace: boolean

Whether the display this window is on can show the Display P3 gamut.

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.