MCPcopy Create free account
hub / github.com/FallenMax/smart-toc / contentStream

Function contentStream

src/content/toc.ts:100–169  ·  view source on GitHub ↗
({
  $isShown,
  $periodicCheck,
  $triggerContentChange,
  article,
  scroller,
  addDisposer,
}: {
  article: HTMLElement
  scroller: HTMLElement
  $triggerContentChange: Stream<null>
  $isShown: Stream<boolean>
  $periodicCheck: Stream<null>
  addDisposer: (unsub: () => void) => number
})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createTocFunction · 0.85

Calls 8

extractHeadingsFunction · 0.90
getScrollTopFunction · 0.90
logMethod · 0.80
throttleMethod · 0.80
fromEventMethod · 0.80
mapMethod · 0.80
filterMethod · 0.80
mergeMethod · 0.80

Tested by

no test coverage detected