Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "events"

Index

Functions

Const useDefaultEventHandlers

  • useDefaultEventHandlers(gui: IMGUI): void
  • 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.

    Parameters

    Returns void

Generated using TypeDoc