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

Method attachCloseOverflowHandlers

packages/main/src/ToolbarItem.ts:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 attachCloseOverflowHandlers() {
123 const closingEvents = this.getClosingEvents();
124 closingEvents.forEach(clEvent => {
125 if (!this.preventOverflowClosing) {
126 this.addEventListener(clEvent, this.fireCloseOverflowRef);
127 }
128 });
129 }
130
131 detachCloseOverflowHandlers() {
132 const closingEvents = this.getClosingEvents();

Callers 1

onBeforeRenderingMethod · 0.95

Calls 1

getClosingEventsMethod · 0.95

Tested by

no test coverage detected