TLUserPreferences

See source code
Table of contents

A user of tldraw

interface TLUserPreferences {}

Properties

animationSpeed

optional
animationSpeed?: null | number;

areKeyboardShortcutsEnabled

optional
areKeyboardShortcutsEnabled?: boolean | null;

color

optional
color?: null | string;

colorScheme

optional
colorScheme?: "dark" | "light" | "system";

edgeScrollSpeed

optional
edgeScrollSpeed?: null | number;

enhancedA11yMode

optional
enhancedA11yMode?: boolean | null;

id

id: string;

inputMode

optional
inputMode?: "mouse" | "trackpad" | null;

isDynamicSizeMode

optional
isDynamicSizeMode?: boolean | null;

isPasteAtCursorMode

optional
isPasteAtCursorMode?: boolean | null;

isSnapMode

optional
isSnapMode?: boolean | null;

isWrapMode

optional
isWrapMode?: boolean | null;

isZoomDirectionInverted

optional
isZoomDirectionInverted?: boolean | null;

locale

optional
locale?: null | string;

name

optional
name?: null | string;

Prev
TLUrlExternalContent
Next
TransformedGeometry2dOptions