Methods
setCaretPosition
Sets simple-keyboard's internal caret position
// Set both caretStart and caretEnd
keyboard.setCaretPosition(1);
// caretStart = 1, caretEnd = 2
keyboard.setCaretPosition(1, 2);Sets simple-keyboard's internal caret position
// Set both caretStart and caretEnd
keyboard.setCaretPosition(1);
// caretStart = 1, caretEnd = 2
keyboard.setCaretPosition(1, 2);Support development of this library: