API Reference › Globals › GlbInputManager
# Class: GlbInputManager
# Hierarchy
↳ GlbInputManager
# Implements
- Context
- EventListenerObject
# Index
# Constructors
# Properties
# Methods
- addEventListener
- addEvents
- disableEvents
- dispatchEvent
- enableDragIn
- enableEvents
- handleEvent
- onElementHit
- removeEventListener
- removeEvents
- setDragEnabled
- updateSize
# Constructors
# constructor
+ new GlbInputManager(creator
: string): GlbInputManager
Inherited from InputManager.constructor
Defined in packages/common-core/src/input/input-manager.ts:97
Parameters:
Name | Type |
---|---|
creator | string |
Returns: GlbInputManager
# Properties
# creator
• creator: string
_Implementation of Context.creator_
_Inherited from InputManager.creator_
Defined in packages/common-core/src/input/input-manager.ts:67
# Methods
# addEventListener
▸ addEventListener(eventName
: number, callback
: ListenerFunction‹InputEvent›, scope
: any): void
Inherited from EventDispatcher.addEventListener
Defined in packages/configurator-core/src/utils/event-dispatcher.ts:29
Parameters:
Name | Type |
---|---|
eventName | number |
callback | ListenerFunction‹InputEvent› |
scope | any |
Returns: void
# addEvents
▸ addEvents(element
: HTMLElement): void
Inherited from InputManager.addEvents
Defined in packages/common-core/src/input/input-manager.ts:169
Parameters:
Name | Type |
---|---|
element | HTMLElement |
Returns: void
# disableEvents
▸ disableEvents(): void
Inherited from EventDispatcher.disableEvents
Defined in packages/configurator-core/src/utils/event-dispatcher.ts:67
Returns: void
# dispatchEvent
▸ dispatchEvent(eventName
: number, arg?
: InputEvent): void
Inherited from EventDispatcher.dispatchEvent
Defined in packages/configurator-core/src/utils/event-dispatcher.ts:33
Parameters:
Name | Type |
---|---|
eventName | number |
arg? | InputEvent |
Returns: void
# enableDragIn
▸ enableDragIn(dragEvent?
: DragEvent): void
Inherited from InputManager.enableDragIn
Defined in packages/common-core/src/input/input-manager.ts:107
Parameters:
Name | Type |
---|---|
dragEvent? | DragEvent |
Returns: void
# enableEvents
▸ enableEvents(): void
Inherited from EventDispatcher.enableEvents
Defined in packages/configurator-core/src/utils/event-dispatcher.ts:63
Returns: void
# handleEvent
▸ handleEvent(evt
: Event): void
Inherited from InputManager.handleEvent
Defined in packages/common-core/src/input/input-manager.ts:343
Parameters:
Name | Type |
---|---|
evt | Event |
Returns: void
# onElementHit
▸ onElementHit(): void
Inherited from InputManager.onElementHit
Defined in packages/common-core/src/input/input-manager.ts:500
Returns: void
# removeEventListener
▸ removeEventListener(eventName
: number, fun
: ListenerFunction‹InputEvent›): void
Inherited from EventDispatcher.removeEventListener
Defined in packages/configurator-core/src/utils/event-dispatcher.ts:49
Parameters:
Name | Type |
---|---|
eventName | number |
fun | ListenerFunction‹InputEvent› |
Returns: void
# removeEvents
▸ removeEvents(element
: HTMLElement): void
Inherited from InputManager.removeEvents
Defined in packages/common-core/src/input/input-manager.ts:173
Parameters:
Name | Type |
---|---|
element | HTMLElement |
Returns: void
# setDragEnabled
▸ setDragEnabled(enabled
: boolean): void
Inherited from InputManager.setDragEnabled
Defined in packages/common-core/src/input/input-manager.ts:339
Parameters:
Name | Type |
---|---|
enabled | boolean |
Returns: void
# updateSize
▸ updateSize(): void
Inherited from InputManager.updateSize
Defined in packages/common-core/src/input/input-manager.ts:504
Returns: void