@quasar/quasar-ui-qcalendar
Version:
QCalendar - Day/Month/Week Calendars, Popups, Date Pickers, Schedules, Agendas, Planners and Tasks for your Vue Apps
11 lines (10 loc) • 736 B
TypeScript
type ScrollTarget = Window | HTMLElement;
export declare function scrollTo(el: ScrollTarget, position: number): void;
export declare function scrollToHorizontal(scrollTarget: ScrollTarget, offset: number): void;
export declare function getVerticalScrollPosition(scrollTarget: ScrollTarget): number;
export declare function getHorizontalScrollPosition(scrollTarget: ScrollTarget): number;
export declare function animVerticalScrollTo(el: ScrollTarget, to: number, duration?: number, startTime?: number, startPos?: number): void;
export declare function animHorizontalScrollTo(element: HTMLElement, // The container element to scroll
targetScrollLeft: number, // The target horizontal scroll position
duration?: number): void;
export {};