UNPKG

maz-ui

Version:

A standalone components library for Vue.Js 3 & Nuxt.Js 3

56 lines (55 loc) 1.6 kB
import { HTMLAttributes } from 'vue'; import { MazColor } from './types'; export interface MazReadingProgressBarProps { /** * Height of the progress bar * @default 4px */ height?: string; /** * Color of the progress bar * @default primary */ color?: MazColor; /** * Selector of the element to teleport the progress bar * @default body */ teleportSelector?: string; /** * Selector of the element to get the height * @default body */ contentSelector?: string; /** * Offset of the progress bar * @default 0 */ offset?: number; /** * Class of the progress bar * @default undefined */ barClass?: HTMLAttributes['class']; /** * Instead of using the height of the content with a selector, you can set a scroll distance * @default undefined */ distance?: number; } declare const _default: import('vue').DefineComponent<MazReadingProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & { begin: () => any; complete: () => any; }, string, import('vue').PublicProps, Readonly<MazReadingProgressBarProps> & Readonly<{ onBegin?: (() => any) | undefined; onComplete?: (() => any) | undefined; }>, { height: string; color: MazColor; offset: number; teleportSelector: string; distance: number; contentSelector: string; barClass: HTMLAttributes["class"]; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; export default _default;