MCPcopy
hub / github.com/mathuo/dockview / update

Method update

packages/dockview-core/src/overlay/overlay.ts:47–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 private update(): void {
48 for (let i = 0; i < this._orderedList.length; i++) {
49 this._orderedList[i].setAttribute('aria-level', `${i}`);
50 this._orderedList[i].style.zIndex =
51 `calc(var(--dv-overlay-z-index, 999) + ${i * 2})`;
52 }
53 }
54}
55
56const arialLevelTracker = new AriaLevelTracker();

Callers 2

pushMethod · 0.95
destroyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected