MCPcopy
hub / github.com/wagerfield/parallax / onOrientationTimer

Method onOrientationTimer

src/parallax.js:434–442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

432 }
433
434 onOrientationTimer() {
435 if (this.orientationSupport && this.orientationStatus === 0) {
436 this.disable()
437 this.orientationSupport = false
438 this.enable()
439 } else {
440 this.doReadyCallback()
441 }
442 }
443
444 onMotionTimer() {
445 if (this.motionSupport && this.motionStatus === 0) {

Callers

nothing calls this directly

Calls 3

disableMethod · 0.95
enableMethod · 0.95
doReadyCallbackMethod · 0.95

Tested by

no test coverage detected