Skip to main content

InputManager

Classes

InputManager

Implements

Constructors

Constructor
new InputManager(
commandFactory,
currentTextInfo,
clipboard,
inputTextValidator): InputManager;
Parameters
ParameterType
commandFactoryICommandFactory
currentTextInfoICurrentTextInfo
clipboardIClipboard
inputTextValidatorIInputTextValidator
Returns

InputManager

Accessors

textLimitsViolationEvent
Get Signature
get textLimitsViolationEvent(): EventObject<ILimitsViolationEventData>;
Returns

EventObject<ILimitsViolationEventData>

Methods

initialize()
initialize(
isTextFormattingEnabled,
isNewLineEnabled,
limits?): void;
Parameters
ParameterTypeDefault value
isTextFormattingEnabledbooleanundefined
isNewLineEnabledbooleanundefined
limitsITextLimitsnull
Returns

void

processKeyboardEvent()
processKeyboardEvent(e): Promise<ICommand[]>;
Parameters
ParameterType
eIKeyboardEvent
Returns

Promise<ICommand[]>

Implementation of

IInputManager.processKeyboardEvent

processMouseEvent()
processMouseEvent(e): ICommand[];
Parameters
ParameterType
eIMouseEvent
Returns

ICommand[]

Implementation of

IInputManager.processMouseEvent

Was this page helpful?