Skip to content

Commit

Permalink
Add static property defaultParams
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Oct 26, 2024
1 parent dd86568 commit 4adc519
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export default class Snowflakes {
return Boolean('onanimationend' in document);
}

static defaultParams = defaultParams;

constructor(params?: SnowflakesParams) {
this.params = this.setParams(params);

Expand Down

0 comments on commit 4adc519

Please sign in to comment.