MCPcopy
hub / github.com/darkroomengineering/lenis / checkOverflow

Method checkOverflow

packages/core/src/lenis.ts:320–326  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318 }
319
320 private checkOverflow() {
321 if (['hidden', 'clip'].includes(this.overflow)) {
322 this.internalStop()
323 } else {
324 this.internalStart()
325 }
326 }
327
328 private onTransitionEnd = (event: TransitionEvent) => {
329 if (

Callers 2

constructorMethod · 0.95
LenisClass · 0.95

Calls 2

internalStopMethod · 0.95
internalStartMethod · 0.95

Tested by

no test coverage detected