UNPKG

tsparticles

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

14 lines (13 loc) 461 B
import type { RecursivePartial } from "../../Types"; /** * This interface is used by the [[Options]] class to have a [[load]] method to set all needed properties from source * @typeParam T the options interface to load * @category Options */ export interface IOptionLoader<T> { /** * This load method is used to load [[data]] in the classes used as generic * @param data the input options */ load(data?: RecursivePartial<T>): void; }