InputManager
Classes
InputManager
Implements
Constructors
Constructor
new InputManager(
commandFactory,
currentTextInfo,
clipboard,
inputTextValidator): InputManager;
Parameters
| Parameter | Type |
|---|---|
commandFactory | ICommandFactory |
currentTextInfo | ICurrentTextInfo |
clipboard | IClipboard |
inputTextValidator | IInputTextValidator |
Returns
Accessors
textLimitsViolationEvent
Get Signature
get textLimitsViolationEvent(): EventObject<ILimitsViolationEventData>;
Returns
EventObject<ILimitsViolationEventData>
Methods
initialize()
initialize(
isTextFormattingEnabled,
isNewLineEnabled,
limits?): void;
Parameters
| Parameter | Type | Default value |
|---|---|---|
isTextFormattingEnabled | boolean | undefined |
isNewLineEnabled | boolean | undefined |
limits | ITextLimits | null |
Returns
void
processKeyboardEvent()
processKeyboardEvent(e): Promise<ICommand[]>;
Parameters
| Parameter | Type |
|---|---|
e | IKeyboardEvent |
Returns
Promise<ICommand[]>
Implementation of
IInputManager.processKeyboardEvent
processMouseEvent()
processMouseEvent(e): ICommand[];
Parameters
| Parameter | Type |
|---|---|
e | IMouseEvent |
Returns
ICommand[]