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

Method replaceTab

apps/reader/src/models/reader.ts:540–547  ·  view source on GitHub ↗
(
    param: TabParam,
    index = this.focusedIndex,
    groupIdx = this.focusedIndex,
  )

Source from the content-addressed store, hash-verified

538 }
539
540 replaceTab(
541 param: TabParam,
542 index = this.focusedIndex,
543 groupIdx = this.focusedIndex,
544 ) {
545 const group = this.groups[groupIdx]
546 group?.replaceTab(param, index)
547 }
548
549 removeGroup(index: number) {
550 this.groups.splice(index, 1)

Callers

nothing calls this directly

Calls 1

replaceTabMethod · 0.45

Tested by

no test coverage detected