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

Method onAfterRendering

packages/main/src/MultiComboBox.ts:1905–1925  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1903 }
1904
1905 onAfterRendering() {
1906 this._getList();
1907 this.valueStateOpen = this.shouldDisplayOnlyValueStateMessage || (this._handleLinkNavigation && !this.open);
1908 this.storeResponsivePopoverWidth();
1909
1910 this._deleting = false;
1911 // force resize of the tokenizer on invalidation
1912 this._tokenizer._handleResize();
1913 this._tokenizer.preventInitialFocus = true;
1914
1915 if (this.open && !isPhone()) {
1916 this._tokenizer._scrollToEndOnExpand = true;
1917 this._tokenizer.expanded = true;
1918 }
1919
1920 if (!arraysAreEqual(this._valueStateLinks, this.linksInAriaValueStateHiddenText)) {
1921 this._removeLinksEventListeners();
1922 this._addLinksEventListeners();
1923 this._valueStateLinks = this.linksInAriaValueStateHiddenText;
1924 }
1925 }
1926
1927 get _isPhone() {
1928 return isPhone();

Callers

nothing calls this directly

Calls 7

_getListMethod · 0.95
isPhoneFunction · 0.85
arraysAreEqualFunction · 0.85
_handleResizeMethod · 0.45

Tested by

no test coverage detected