maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
45 lines (44 loc) • 1.35 kB
TypeScript
export interface MazAnimatedElementProps {
/**
* The direction of the animation
* @default "up"
* @values "up", "down", "left", "right"
*/
direction?: 'up' | 'down' | 'left' | 'right';
/**
* The delay of the animation
* @default 0
*/
delay?: number;
/**
* The duration of the animation
* @default 2000
*/
duration?: number;
/**
* Play the animation only once
* @default true
*/
once?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
element: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<MazAnimatedElementProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazAnimatedElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
element: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};