Class InputManager
Constructors
(constructor)(_commandFactory, _currentTextInfo, _clipboard, _inputTextValidator)
Constructs a new instance of the InputManager
class
Declaration
constructor(_commandFactory: ICommandFactory, _currentTextInfo: ICurrentTextInfo, _clipboard: IClipboard, _inputTextValidator: IInputTextValidator);
Parameters
Properties
textLimitsViolationEvent
Declaration
get textLimitsViolationEvent(): EventObject<ILimitsViolationEventData>;
Property Value
Methods
initialize(isTextFormattingEnabled, isNewLineEnabled, limits)
Declaration
initialize(isTextFormattingEnabled: boolean, isNewLineEnabled: boolean, limits?: ITextLimits): void;
Parameters
Type |
Name |
Description |
boolean |
isTextFormattingEnabled |
|
boolean |
isNewLineEnabled |
|
ITextLimits |
limits |
|
Returns
processKeyboardEvent(e)
Declaration
processKeyboardEvent(e: IKeyboardEvent): Promise<ICommand[]>;
Parameters
Returns
processMouseEvent(e)
Declaration
processMouseEvent(e: IMouseEvent): ICommand[];
Parameters
Returns