MCPcopy
hub / github.com/paperwm/PaperWM / selectedIndex

Method selectedIndex

tiling.js:2136–2142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2134 static get [Symbol.species]() { return Array; }
2135
2136 selectedIndex() {
2137 if (this.selectedWindow) {
2138 return this.indexOf(this.selectedWindow);
2139 } else {
2140 return -1;
2141 }
2142 }
2143
2144 destroy() {
2145 this.getWindows().forEach(w => {

Callers 4

layoutMethod · 0.95
switchLinearMethod · 0.95
switchMethod · 0.80
switchGlobalMethod · 0.80

Calls 1

indexOfMethod · 0.95

Tested by

no test coverage detected