Interface UserConfig

interface UserConfig {
    attachTo?: string;
    layers?: DeepPartial<ConfigLayer>[];
}

Hierarchy

Properties

Properties

attachTo?: string

A string that represents the ID of an element you want to attach snowfall to.

'#snowfall'
layers?: DeepPartial<ConfigLayer>[]

An optional array of uniquely configured snowflake layers, where each layer can be partially configured.

undefined