MCPcopy Create free account
hub / github.com/pacexy/flow / replaceTab

Method replaceTab

apps/reader/src/models/reader.ts:495–498  ·  view source on GitHub ↗
(param: TabParam, index = this.selectedIndex)

Source from the content-addressed store, hash-verified

493 }
494
495 replaceTab(param: TabParam, index = this.selectedIndex) {
496 this.addTab(param)
497 this.removeTab(index)
498 }
499
500 selectTab(index: number) {
501 this.selectedIndex = index

Callers 1

replaceTabMethod · 0.45

Calls 2

addTabMethod · 0.95
removeTabMethod · 0.95

Tested by

no test coverage detected