UNPKG

tldraw

Version:

A tiny little drawing editor.

16 lines (15 loc) 284 B
import { StateNode } from "@tldraw/editor"; class Idle extends StateNode { static id = "idle"; info = {}; onEnter(info) { this.info = info; } onPointerDown() { this.parent.transition("pointing", this.info); } } export { Idle }; //# sourceMappingURL=Idle.mjs.map