()
| 91 | |
| 92 | // Method called by ui5-toolbar to inform about the existing toolbar wrapper |
| 93 | checkForWrapper() { |
| 94 | if (this._wrapperChecked) { |
| 95 | return; |
| 96 | } |
| 97 | this._wrapperChecked = true; |
| 98 | |
| 99 | const tagName = this.itemTagName as keyof typeof this.predefinedWrapperSet; |
| 100 | const ctor = this.constructor as typeof ToolbarItem; |
| 101 | const wrapperName = ctor?.getMetadata ? ctor.getMetadata().getPureTag() : this.tagName; |
| 102 | if (wrapperName === "ui5-toolbar-item" |
| 103 | && this.predefinedWrapperSet[tagName]) { |
| 104 | // eslint-disable-next-line no-console |
| 105 | console.warn(`This UI5 web component has its predefined toolbar wrapper called ${this.predefinedWrapperSet[tagName]}.`); |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | // We want to close the overflow popover, when closing event is being executed |
| 110 | getClosingEvents(): string[] { |
no test coverage detected