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

Method _setPopoverItems

packages/main/src/TabContainer.ts:1382–1389  ·  view source on GitHub ↗
(items: Array<ITab>)

Source from the content-addressed store, hash-verified

1380 }
1381
1382 _setPopoverItems(items: Array<ITab>) {
1383 this._sendOverflowPresentationInfos(items);
1384 const newItemsFlat = this._flatten(items);
1385
1386 if (!arraysAreEqual(this._popoverItemsFlat, newItemsFlat)) {
1387 this._popoverItemsFlat = newItemsFlat;
1388 }
1389 }
1390
1391 async _togglePopover(opener: HTMLElement, setInitialFocus = false) {
1392 this.responsivePopover = await this._respPopover();

Callers 2

onAfterRenderingMethod · 0.95
_showPopoverAtMethod · 0.95

Calls 3

_flattenMethod · 0.95
arraysAreEqualFunction · 0.85

Tested by

no test coverage detected