TLHandleType

See source code

A union type representing all available handle types.

Handle types determine how a handle behaves when interacted with and what kind of shape modification it enables.

type TLHandleType = SetValue<typeof TL_HANDLE_TYPES>;

Example

const vertexHandle: TLHandleType = "vertex";
const virtualHandle: TLHandleType = "virtual";
const createHandle: TLHandleType = "create";
const cloneHandle: TLHandleType = "clone";
Prev
TLGroupShape
Next
TLHighlightShape