Skip to content

Documentation / imgui / imGuiInjectEvent

Function: imGuiInjectEvent() ​

imGuiInjectEvent(ev, type?): boolean

Defined in: libs/imgui/src/index.ts:97

Injects a browser event into the GUI system

Parameters ​

ev ​

Event

The event object

type? ​

string

Event type, default to ev.type if not specified.

Returns ​

boolean

A boolean value indices if the event was processed by GUI system

Released under the MIT License.