MCPcopy Create free account
hub / github.com/Fiddle-Digital/string-scroll / constructor

Method constructor

src/Animations/StringAnimation.ts:55–61  ·  view source on GitHub ↗
(key: string = "", progressKey: string = "", progressFactorKey: string = "", bufferProgressKey: string = "data-string-progress-value")

Source from the content-addressed store, hash-verified

53 public eventManager: EventManager = new EventManager()
54
55 constructor(key: string = "", progressKey: string = "", progressFactorKey: string = "", bufferProgressKey: string = "data-string-progress-value"){
56 this._key = key
57 this.progressKey = progressKey
58 this.progressFactorKey = progressFactorKey
59 this.bufferProgressKey = bufferProgressKey
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected