From 4adc51979b2cc5a39ec54d7e5637ef0d07828b3e Mon Sep 17 00:00:00 2001 From: Denis Seleznev Date: Sat, 26 Oct 2024 11:43:46 +0300 Subject: [PATCH] Add static property defaultParams --- src/ts/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ts/index.ts b/src/ts/index.ts index 784df2e..c9b7357 100644 --- a/src/ts/index.ts +++ b/src/ts/index.ts @@ -35,6 +35,8 @@ export default class Snowflakes { return Boolean('onanimationend' in document); } + static defaultParams = defaultParams; + constructor(params?: SnowflakesParams) { this.params = this.setParams(params);