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

Method handleResize

packages/fiori/src/SideNavigation.ts:510–515  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

508 }
509
510 handleResize() {
511 // In smaller screen the side navigation hidden when collapsed and there is no overflow items
512 if (window.innerWidth > SCREEN_WIDTH_BREAKPOINT) {
513 this._updateOverflowItems();
514 }
515 }
516
517 _updateOverflowItems() {
518 const domRef = this.getDomRef();

Callers 1

onAfterRenderingMethod · 0.95

Calls 1

_updateOverflowItemsMethod · 0.95

Tested by

no test coverage detected