UNPKG

maz-ui

Version:

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

57 lines (56 loc) 1.56 kB
import type { Color } from './types'; import { type HTMLAttributes } from 'vue'; export type { Color }; export interface Props { /** * Height of the progress bar * @default 4px */ height?: string; /** * Color of the progress bar * @default primary */ color?: Color; /** * 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<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & { begin: () => any; complete: () => any; }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{ onBegin?: (() => any) | undefined; onComplete?: (() => any) | undefined; }>, { color: Color; height: string; teleportSelector: string; offset: number; distance: number; contentSelector: string; barClass: HTMLAttributes["class"]; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; export default _default;