UNPKG

quasar

Version:

Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time

21 lines (14 loc) 927 B
import Vue from 'vue' export namespace scroll { function getScrollTarget(el: Element, selector?: string | Element | Window | Vue): Element | Window; function getScrollHeight(el: Element | Window): number; function getScrollWidth(el: Element | Window): number; function getScrollPosition(scrollTarget: Element | Window): number; function getHorizontalScrollPosition(scrollTarget: Element | Window): number; function animScrollTo(el: Element | Window, to: number, duration: number): void; function animHorizontalScrollTo(el: Element | Window, to: number, duration: number): void; function setScrollPosition(scrollTarget: Element | Window, offset: number, duration?: number): void; function setHorizontalScrollPosition(scrollTarget: Element | Window, offset: number, duration?: number): void; function getScrollbarWidth(): number; function hasScrollbar(el: Element | Window, onY?: boolean): boolean; }