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

Method _onHeaderDrop

packages/main/src/TabContainer.ts:551–558  ·  view source on GitHub ↗
(e: DragEvent)

Source from the content-addressed store, hash-verified

549 }
550
551 _onHeaderDrop(e: DragEvent) {
552 if (e.target === this._getStartOverflowBtnDOM() || e.target === this._getEndOverflowBtnDOM()) {
553 return;
554 }
555
556 handleDrop(e, this, (this.dropIndicatorDOM!.targetReference as TabInStrip).realTabReference, this.dropIndicatorDOM!.placement);
557 this.dropIndicatorDOM!.targetReference = null;
558 }
559
560 _moveHeaderItem(tab: Tab, e: KeyboardEvent) {
561 if (!tab.movable || this._dragging) {

Callers

nothing calls this directly

Calls 3

_getEndOverflowBtnDOMMethod · 0.95
handleDropFunction · 0.85

Tested by

no test coverage detected