st-common-ui-vue3
Version:
小尾巴通用 Vue3 UI 组件库
65 lines (64 loc) • 2.05 kB
TypeScript
declare function __VLS_template(): {
slots: {
default?(_: {}): any;
};
refs: {};
attrs: Partial<{}>;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<{
width?: string | number;
height?: string | number;
particleCount?: number;
particleClass?: string;
offsetInitial?: number;
offsetEnd?: number;
/**
* 设置粒子样式的处理函数
*
* @param {HTMLElement} particleEl 粒子元素
* @param {number} idx 粒子的索引
*/
setParticleStyleHandler: (particleEl: HTMLElement, idx: number) => void;
particleZIndex?: number | string;
speed?: number;
click?: boolean;
move?: boolean;
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
width?: string | number;
height?: string | number;
particleCount?: number;
particleClass?: string;
offsetInitial?: number;
offsetEnd?: number;
/**
* 设置粒子样式的处理函数
*
* @param {HTMLElement} particleEl 粒子元素
* @param {number} idx 粒子的索引
*/
setParticleStyleHandler: (particleEl: HTMLElement, idx: number) => void;
particleZIndex?: number | string;
speed?: number;
click?: boolean;
move?: boolean;
}> & Readonly<{}>, {
width: string | number;
height: string | number;
click: boolean;
speed: number;
move: boolean;
particleCount: number;
particleClass: string;
offsetInitial: number;
offsetEnd: number;
setParticleStyleHandler: (particleEl: HTMLElement, idx: number) => void;
particleZIndex: number | string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};