InputManager
Classes
InputManager
Implements
Constructors
Constructor
new InputManager(convertor?, settings?): InputManager;
Parameters
| Parameter | Type | Default value |
|---|---|---|
convertor | ICoordinatesConvertor | null |
settings | IInputManagerSettings | null |
Returns
Methods
addOnInput()
addOnInput(handler): void;
Parameters
| Parameter | Type |
|---|---|
handler | (params) => any |
Returns
void
Implementation of
dispose()
dispose(): void;
Returns
void
raiseNativeEvent()
raiseNativeEvent(event): void;
Parameters
| Parameter | Type |
|---|---|
event | INativeEvent |
Returns
void
Implementation of
IInputManager.raiseNativeEvent
removeOnInput()
removeOnInput(handler): void;
Parameters
| Parameter | Type |
|---|---|
handler | (params) => any |
Returns
void
Implementation of
Interfaces
IClickInfo
Properties
button
button: Button;
point
point: PointF;
time
time: number;
IInputManagerSettings
Properties
clickThreshold?
optional clickThreshold?: number;
doubleTapThreshold?
optional doubleTapThreshold?: number;
doubleTapTime?
optional doubleTapTime?: number;
longTapTime?
optional longTapTime?: number;
minimalScaleDistance?
optional minimalScaleDistance?: number;
tapThreshold?
optional tapThreshold?: number;