MCPcopy Index your code
hub / github.com/Fiddle-Digital/string-scroll / get

Method get

src/Animations/StringAnimation.ts:62–65  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

60 this.status = true
61 }
62 get(id: string): StringScrollObject | undefined{
63 // return this.objectsMap.has(id) ? this.objectsMap.get(id) : undefined
64 return this.allObjects.has(id) ? this.allObjects.get(id) : undefined
65 }
66 init(){
67 let progE = document.querySelectorAll(`[${this._key}]:not([data-string-connect]):not([${this._key}-inited])`)
68 Array.from(progE)

Callers 6

onMethod · 0.80
emitMethod · 0.80
offMethod · 0.80
getObjectMethod · 0.80
initMethod · 0.80
removeObjectMethod · 0.80

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected