MCPcopy Create free account
hub / github.com/ef4/memory-scroll / #remember

Method #remember

src/modifiers/memory-scroll.ts:61–66  ·  view source on GitHub ↗
(key: string | number | undefined)

Source from the content-addressed store, hash-verified

59 }
60 }
61 #remember(key: string | number | undefined) {
62 if (key && this.#element) {
63 let position = this.#element.scrollTop;
64 this.memory.memory.set(key, position);
65 }
66 }
67
68 #restore(key: string | number) {
69 if (this.#element) {

Callers 2

handlerMethod · 0.95
modifyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected