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

Method setCaretPosition

packages/main/src/Input.ts:2080–2082  ·  view source on GitHub ↗

* Sets the caret to a certain position inside the native input * @protected

(pos: number | null)

Source from the content-addressed store, hash-verified

2078 * @protected
2079 */
2080 setCaretPosition(pos: number | null) {
2081 setCaretPosition(this.nativeInput!, pos);
2082 }
2083
2084 /**
2085 * Removes the fractional part of floating-point number.

Callers 1

_modifyDateValueMethod · 0.80

Calls 1

setCaretPositionFunction · 0.85

Tested by

no test coverage detected