Get the next caret position according to the special cursor position and keycode(processType).
Javascript (Usage) | |
---|
var instance = new wijmo.input.BaseUIProcess();
var value; // Type: number
// Parameters
var cursorPos; // Type: number
var keyCode; // Type: number
value = instance.GetCaretPosition(cursorPos, keyCode);
|
Javascript (Specification) | |
---|
function GetCaretPosition(
: number,
: number
) : number;
|
Parameters
- cursorPos
- - The current cursor position.
- keyCode
- - The keyCode indicate the key action.
Return Value
Return the cursor position after the key action.