# Input

Basic, viewer-core defined input event manager. Accessible from SpeckleRenderer

#

Methods

on

#

Typedefs

InputEvent

#

Methods

# getSpeckleType

on(eventType: InputEvent, handler: (arg) => void): void
1

And the handler to the event type call list.

Parameters

  • eventType: InputEvent
  • handler: The handler that gets called

Returns: void

#

Typedefs

# SpeckleType

enum InputEvent {
  PointerDown,
  PointerUp,
  PointerMove,
  Click,
  DoubleClick,
  KeyUp,
}
1
2
3
4
5
6
7
8

Input event types.