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

Method forceUpdateParallax

src/index.ts:358–366  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

356
357 }
358 public forceUpdateParallax() {
359 setTimeout(() => {
360 let b = d.body,
361 h = d.documentElement
362 let dHeight = Math.max(b.scrollHeight, b.offsetHeight,
363 h.clientHeight, h.scrollHeight, h.offsetHeight)
364 this.sEn.data.bS = dHeight - this.wH
365 }, 300);
366 }
367 public setObjectStatus(id: string, status: boolean){
368 let object = this.getObject(id)
369 if(object != undefined){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected