Skip to content

Documentation / scene / InputEventHandler

Type Alias: InputEventHandler ​

InputEventHandler = (ev, type?) => boolean

Defined in: libs/scene/src/app/inputmgr.ts:31

Input handler middleware type.

Return true to indicate the event has been handled and should not be forwarded to the Application's observable event system.

Parameters ​

ev ​

Event

type? ​

string

Returns ​

boolean

Released under the MIT License.