@ue-too/being-devtools / attachMachineDebugger
関数: attachMachineDebugger()
attachMachineDebugger(
machine,options?):AttachHandle
定義: attach.ts:98
Attaches a machine to the page's shared floating panel, creating the panel on first use. Press Ctrl+Shift+M (Cmd+Shift+M on macOS) to open it.
パラメータ
machine
options?
戻り値
例
ts
const handle = attachMachineDebugger(machine, { name: 'pan-control' });
// on teardown
handle.dispose();