vuepress-theme-hope
Version:
A light vuepress theme with tons of features
44 lines • 884 B
TypeScript
export interface SnowflakeOptions {
/**
* Min size of snowflake in pixels
*
* 雪花的最小大小 (像素)
*
* @default 5
*/
minSize: number;
/**
* Max size of snowflake in pixels
*
* 雪花的最大大小 (像素)
*
* @default 10
*/
maxSize: number;
/**
* Speed of snowflake
*
* 雪花的下落速度
*
* @default 1
*/
speed: number;
}
export interface SnowFallOptions extends Partial<SnowflakeOptions> {
/**
* Image of snowflake
*
* 雪花的图片文件
*/
image?: string;
/**
* Count of snowflakes
*
* 雪花数量
*
* @default 25
*/
count?: number;
}
export declare const setupSnowFall: ({ speed, image, count, minSize, maxSize, }?: SnowFallOptions) => void;
//# sourceMappingURL=snowFall.d.ts.map