siegel
Version:
Web application development ecosystem
11 lines (10 loc) • 447 B
TypeScript
import type { InputRef } from './types';
declare const setCaretPos: (ref: InputRef, caretPosFrom: number, caretPosTo?: number) => NodeJS.Timeout;
declare const INPUT_TYPE: {
readonly INSERT_TEXT: "insertText";
readonly INSERT_PASTE: "insertFromPaste";
readonly DELETE_BACKWARD: "deleteContentBackward";
readonly DELETE_FORWARD: "deleteContentForward";
readonly DELETE_CUT: "deleteByCut";
};
export { setCaretPos, INPUT_TYPE };