@tsparticles/interaction-external-push
Version:
tsParticles push external interaction
18 lines (17 loc) • 444 B
TypeScript
import type { Container, Options } from "@tsparticles/engine";
import type { IPush } from "./Options/Interfaces/IPush.js";
import type { Push } from "./Options/Classes/Push.js";
export interface IPushMode {
push: IPush;
}
export interface PushMode {
push?: Push;
}
export type PushContainer = Container & {
actualOptions: PushOptions;
};
export type PushOptions = Options & {
interactivity: {
modes: PushMode;
};
};