SYMBOL INDEX (137 symbols across 29 files) FILE: packages/core/src/animate.ts class Animate (line 12) | class Animate { method advance (line 30) | advance(deltaTime: number) { method stop (line 63) | stop() { method fromTo (line 75) | fromTo( FILE: packages/core/src/debounce.ts function debounce (line 1) | function debounce void>( FILE: packages/core/src/dimensions.ts class Dimensions (line 12) | class Dimensions { method constructor (line 23) | constructor( method destroy (line 45) | destroy() { method limit (line 79) | get limit() { FILE: packages/core/src/emitter.ts class Emitter (line 10) | class Emitter { method emit (line 21) | emit(event: string, ...args: unknown[]) { method on (line 34) | on void>(event: string, cb: CB) { method off (line 53) | off void>(event: string, callback: ... method destroy (line 60) | destroy() { FILE: packages/core/src/lenis.ts type OptionalPick (line 26) | type OptionalPick = Omit & Partial> class Lenis (line 30) | class Lenis { method constructor (line 96) | constructor({ method destroy (line 230) | destroy() { method on (line 270) | on(event: LenisEvent, callback: ScrollCallback | VirtualScrollCallback) { method off (line 282) | off(event: LenisEvent, callback: ScrollCallback | VirtualScrollCallbac... method overflow (line 306) | get overflow() { method checkOverflow (line 313) | private checkOverflow() { method setScroll (line 327) | private setScroll(scroll: number) { method resize (line 544) | resize() { method emit (line 550) | private emit() { method reset (line 591) | private reset() { method start (line 602) | start() { method internalStart (line 613) | private internalStart() { method stop (line 624) | stop() { method internalStop (line 635) | private internalStop() { method scrollTo (line 679) | scrollTo( method preventNextNativeScrollEvent (line 846) | private preventNextNativeScrollEvent() { method hasNestedScroll (line 854) | private hasNestedScroll( method rootElement (line 977) | get rootElement() { method limit (line 988) | get limit() { method isHorizontal (line 1001) | get isHorizontal() { method actualScroll (line 1008) | get actualScroll() { method scroll (line 1021) | get scroll() { method progress (line 1030) | get progress() { method isScrolling (line 1038) | get isScrolling() { method isScrolling (line 1042) | private set isScrolling(value: Scrolling) { method isStopped (line 1052) | get isStopped() { method isStopped (line 1056) | private set isStopped(value: boolean) { method isLocked (line 1066) | get isLocked() { method isLocked (line 1070) | private set isLocked(value: boolean) { method isSmooth (line 1080) | get isSmooth() { method className (line 1087) | get className() { method updateClassName (line 1097) | private updateClassName() { method cleanUpClassName (line 1104) | private cleanUpClassName() { FILE: packages/core/src/maths.ts function clamp (line 9) | function clamp(min: number, input: number, max: number) { function truncate (line 20) | function truncate(value: number, decimals = 0) { function lerp (line 32) | function lerp(x: number, y: number, t: number) { function damp (line 46) | function damp(x: number, y: number, lambda: number, deltaTime: number) { function modulo (line 58) | function modulo(n: number, d: number) { FILE: packages/core/src/types.ts type OnUpdateCallback (line 3) | type OnUpdateCallback = (value: number, completed: boolean) => void type OnStartCallback (line 4) | type OnStartCallback = () => void type FromToOptions (line 6) | type FromToOptions = { type UserData (line 32) | type UserData = Record type Scrolling (line 34) | type Scrolling = boolean | 'native' | 'smooth' type LenisEvent (line 36) | type LenisEvent = 'scroll' | 'virtual-scroll' type ScrollCallback (line 37) | type ScrollCallback = (lenis: Lenis) => void type VirtualScrollCallback (line 38) | type VirtualScrollCallback = (data: VirtualScrollData) => void type VirtualScrollData (line 40) | type VirtualScrollData = { type Orientation (line 46) | type Orientation = 'vertical' | 'horizontal' type GestureOrientation (line 47) | type GestureOrientation = 'vertical' | 'horizontal' | 'both' type EasingFunction (line 48) | type EasingFunction = (time: number) => number type ScrollToOptions (line 50) | type ScrollToOptions = { type LenisOptions (line 104) | type LenisOptions = { type Window (line 234) | interface Window { FILE: packages/core/src/virtual-scroll.ts constant LINE_HEIGHT (line 4) | const LINE_HEIGHT = 100 / 6 function getDeltaMultiplier (line 7) | function getDeltaMultiplier(deltaMode: number, size: number): number { class VirtualScroll (line 13) | class VirtualScroll { method constructor (line 28) | constructor( method on (line 55) | on(event: string, callback: VirtualScrollCallback) { method destroy (line 60) | destroy() { FILE: packages/react/src/store.ts type Listener (line 3) | type Listener = (state: S) => void class Store (line 5) | class Store { method constructor (line 8) | constructor(private state: S) {} method set (line 10) | set(state: S) { method subscribe (line 18) | subscribe(listener: Listener) { method get (line 25) | get() { function useStore (line 30) | function useStore(store: Store) { FILE: packages/react/src/types.ts type LenisContextValue (line 5) | type LenisContextValue = { type LenisProps (line 11) | type LenisProps = ComponentPropsWithoutRef<'div'> & { type LenisRef (line 40) | type LenisRef = { FILE: packages/react/src/use-lenis.ts function useLenis (line 51) | function useLenis( FILE: packages/snap/src/debounce.ts function debounce (line 1) | function debounce void>( FILE: packages/snap/src/element.ts function removeParentSticky (line 3) | function removeParentSticky(element: HTMLElement) { function addParentSticky (line 18) | function addParentSticky(element: HTMLElement) { function offsetTop (line 29) | function offsetTop(element: HTMLElement, accumulator = 0) { function offsetLeft (line 37) | function offsetLeft(element: HTMLElement, accumulator = 0) { function scrollTop (line 45) | function scrollTop(element: HTMLElement, accumulator = 0) { function scrollLeft (line 53) | function scrollLeft(element: HTMLElement, accumulator = 0) { type SnapElementOptions (line 61) | type SnapElementOptions = { type Rect (line 67) | type Rect = { class SnapElement (line 79) | class SnapElement { method constructor (line 89) | constructor( method destroy (line 117) | destroy() { method setRect (line 122) | setRect({ FILE: packages/snap/src/snap.ts type RequiredPick (line 14) | type RequiredPick = Omit & Required> class Snap (line 38) | class Snap { method constructor (line 50) | constructor( method destroy (line 94) | destroy() { method start (line 105) | start() { method stop (line 112) | stop() { method add (line 123) | add(value: number): () => void { method addElement (line 138) | addElement( method addElements (line 149) | addElements( method previous (line 200) | previous() { method next (line 204) | next() { method goTo (line 208) | goTo(index: number) { method distanceThreshold (line 239) | get distanceThreshold() { method resize (line 321) | resize() { FILE: packages/snap/src/types.ts type SnapItem (line 3) | type SnapItem = { type OnSnapCallback (line 7) | type OnSnapCallback = (item: SnapItem & { index?: number }) => void type SnapOptions (line 9) | type SnapOptions = { FILE: packages/snap/src/uid.ts type UID (line 3) | type UID = number function uid (line 5) | function uid(): UID { FILE: packages/vue/nuxt/module.ts type ModuleOptions (line 10) | type ModuleOptions = Record method setup (line 19) | setup(_options, _nuxt) { FILE: packages/vue/nuxt/runtime/lenis.ts method setup (line 7) | setup(nuxtApp: unknown) { FILE: packages/vue/nuxt/types/app.d.ts type Plugin (line 2) | interface Plugin { FILE: packages/vue/src/provider.ts type LenisExposed (line 31) | type LenisExposed = { method setup (line 57) | setup(props, { slots, expose }) { type GlobalComponents (line 170) | interface GlobalComponents { FILE: packages/vue/src/use-lenis.ts function useLenis (line 11) | function useLenis(callback?: ScrollCallback, priority = 0): ComputedRef<... FILE: playground/core/browser.js function raf (line 7) | function raf(time) { FILE: playground/core/test.ts type Window (line 145) | interface Window { FILE: playground/horizontal/browser.js function raf (line 7) | function raf(time) { FILE: playground/infinite/browser.js function raf (line 7) | function raf(time) { FILE: playground/infinite/test.ts function isPrime (line 10) | function isPrime(num: number) { function sumPrimes (line 18) | function sumPrimes(limit: number) { function animate (line 44) | function animate() { FILE: playground/react/app.tsx function App (line 5) | function App() { FILE: playground/snap/test.ts type Window (line 36) | interface Window { function raf (line 96) | function raf(time: number) { FILE: scripts/update-readme.js function updateVersion (line 6) | function updateVersion() {