Javascript: InputPositionChangedEventArgs.line Property
Description
The line number of the current text input position.
Syntax
<number> InputPositionChangedEventArgs.lineExamples
The following example demonstrates InputPositionChangedEventArgs.line in a practical document-editing workflow. The line number of the current text input position.
function inspectLine(inputPositionChangedEventArgs) {
const line = inputPositionChangedEventArgs.line;
console.log("line:", line);
}