API ReferenceGlobalsInputManager

# Class: InputManager

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Methods

# Constructors

# constructor

+ new InputManager(creator: string): InputManager

Defined in packages/common-core/src/input/input-manager.ts:97

Parameters:

Name Type
creator string

Returns: InputManager

# Properties

# creator

creator: string

_Implementation of Context.creator_

Defined in packages/common-core/src/input/input-manager.ts:67

# Methods

# addEventListener

addEventListener(eventName: number, callback: ListenerFunctionInputEvent›, scope: any): void

Inherited from EventDispatcher.addEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:29

Parameters:

Name Type
eventName number
callback ListenerFunctionInputEvent
scope any

Returns: void


# addEvents

addEvents(element: HTMLElement): void

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

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

Defined in packages/common-core/src/input/input-manager.ts:343

Parameters:

Name Type
evt Event

Returns: void


# onElementHit

onElementHit(): void

Defined in packages/common-core/src/input/input-manager.ts:500

Returns: void


# removeEventListener

removeEventListener(eventName: number, fun: ListenerFunctionInputEvent›): void

Inherited from EventDispatcher.removeEventListener

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:49

Parameters:

Name Type
eventName number
fun ListenerFunctionInputEvent

Returns: void


# removeEvents

removeEvents(element: HTMLElement): void

Defined in packages/common-core/src/input/input-manager.ts:173

Parameters:

Name Type
element HTMLElement

Returns: void


# setDragEnabled

setDragEnabled(enabled: boolean): void

Defined in packages/common-core/src/input/input-manager.ts:339

Parameters:

Name Type
enabled boolean

Returns: void


# updateSize

updateSize(): void

Defined in packages/common-core/src/input/input-manager.ts:504

Returns: void