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

Method getInputDOMRefSync

packages/main/src/Input.ts:1652–1661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1650 }
1651
1652 getInputDOMRefSync() {
1653 if (isPhone() && this.Suggestions) {
1654 const picker = this.Suggestions._getPicker();
1655 if (picker) {
1656 return picker.querySelector(".ui5-input-inner-phone")!.shadowRoot!.querySelector<HTMLInputElement>("input")!;
1657 }
1658 }
1659
1660 return this.nativeInput;
1661 }
1662
1663 /**
1664 * Returns a reference to the native input element

Callers 10

onBeforeRenderingMethod · 0.95
_adjustSelectionRangeMethod · 0.95
_onkeydownMethod · 0.95
_handleEnterMethod · 0.95
_handleEscapeMethod · 0.95
_handleChangeMethod · 0.95
_inputMethod · 0.95
setupMethod · 0.95
fireEventByActionMethod · 0.95
_innerInputMethod · 0.80

Calls 2

isPhoneFunction · 0.85
_getPickerMethod · 0.45

Tested by

no test coverage detected