MCPcopy Create free account
hub / github.com/UI5/webcomponents / getCaretPosition

Method getCaretPosition

packages/main/src/Input.ts:2072–2074  ·  view source on GitHub ↗

* Returns the caret position inside the native input * @protected

()

Source from the content-addressed store, hash-verified

2070 * @protected
2071 */
2072 getCaretPosition(): number | null {
2073 return getCaretPosition(this.nativeInput!);
2074 }
2075
2076 /**
2077 * Sets the caret to a certain position inside the native input

Callers 2

_modifyDateValueMethod · 0.80
Input.cy.tsxFile · 0.80

Calls 1

getCaretPositionFunction · 0.85

Tested by

no test coverage detected