UNPKG

@thi.ng/imgui

Version:

Immediate mode GUI with flexible state handling & data only shape output

15 lines 558 B
import type { IMGUI } from "./gui.js"; /** * Injects default mouse & touch event handlers into `gui.attribs` and * attaches keydown/up listeners to `window`. * * This method should only be used if the IMGUI is to be updated via a * RAF loop or other non-reactive situation. For on-demand updates / * rendering event handling and IMGUI mouse/key state preparation is * left to the user. * * - {@link IMGUI.setMouse} * - {@link IMGUI.setKey} */ export declare const useDefaultEventHandlers: (gui: IMGUI) => void; //# sourceMappingURL=events.d.ts.map