UNPKG

vuetify-wcag

Version:

VuetifyJS but then WCAG/A11Y compatible

31 lines (26 loc) 662 B
// Types import Vue from 'vue' export type VuetifyGoToTarget = number | string | HTMLElement | Vue export type VuetifyGoToEasing = ((t: number) => number) | 'linear' | 'easeInQuad' | 'easeOutQuad' | 'easeInOutQuad' | 'easeInCubic' | 'easeOutCubic' | 'easeInOutCubic' | 'easeInQuart' | 'easeOutQuart' | 'easeInOutQuart' | 'easeInQuint' | 'easeOutQuint' | 'easeInOutQuint' export interface GoToOptions { container?: string | HTMLElement | Vue duration?: number offset?: number easing?: VuetifyGoToEasing appOffset?: boolean } export default function goTo(target: VuetifyGoToTarget, options?: GoToOptions): Promise<number>