This repository was archived by the owner on Jun 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
components/stencil-particles Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 * It contains typing information for all components that exist in this project.
66 */
77import { HTMLStencilElement , JSXBase } from "@stencil/core/internal" ;
8+ import { Container , Engine , ISourceOptions } from "tsparticles-engine" ;
9+ export { Container , Engine , ISourceOptions } from "tsparticles-engine" ;
810export namespace Components {
911 interface StencilParticles {
1012 /**
1113 * The id
1214 */
1315 "id" : string ;
16+ "options" : ISourceOptions ;
17+ "particlesInit" : ( engine : Engine ) => Promise < void > ;
18+ "particlesLoaded" : ( container : Container ) => Promise < void > ;
19+ "url" : string ;
1420 }
1521}
1622declare global {
@@ -30,6 +36,10 @@ declare namespace LocalJSX {
3036 * The id
3137 */
3238 "id" ?: string ;
39+ "options" ?: ISourceOptions ;
40+ "particlesInit" ?: ( engine : Engine ) => Promise < void > ;
41+ "particlesLoaded" ?: ( container : Container ) => Promise < void > ;
42+ "url" ?: string ;
3343 }
3444 interface IntrinsicElements {
3545 "stencil-particles" : StencilParticles ;
Original file line number Diff line number Diff line change 77
88## Properties
99
10- | Property | Attribute | Description | Type | Default |
11- | -------- | --------- | ----------- | -------- | ----------- |
12- | ` id ` | ` id ` | The id | ` string ` | ` undefined ` |
10+ | Property | Attribute | Description | Type | Default |
11+ | ----------------- | --------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
12+ | ` id ` | ` id ` | The id | ` string ` | ` undefined ` |
13+ | ` options ` | -- | | ` { [x: string]: unknown; autoPlay?: boolean; background?: RecursivePartial<IBackground>; backgroundMask?: RecursivePartial<IBackgroundMask>; backgroundMode?: boolean \| RecursivePartial<IFullScreen>; delay?: RangeValue; detectRetina?: boolean; duration?: RangeValue; fpsLimit?: number; fps_limit?: number; fullScreen?: boolean \| RecursivePartial<IFullScreen>; interactivity?: RecursivePartial<IInteractivity>; manualParticles?: RecursivePartial<IManualParticle>[]; particles?: RecursivePartial<IParticlesOptions>; pauseOnBlur?: boolean; pauseOnOutsideViewport?: boolean; preset?: SingleOrMultiple<string>; responsive?: RecursivePartial<IResponsive>[]; retina_detect?: boolean; smooth?: boolean; style?: RecursivePartial<RecursivePartial<CSSStyleDeclaration>>; themes?: RecursivePartial<ITheme>[]; zLayers?: number; } ` | ` undefined ` |
14+ | ` particlesInit ` | -- | | ` (engine: Engine) => Promise<void> ` | ` undefined ` |
15+ | ` particlesLoaded ` | -- | | ` (container: Container) => Promise<void> ` | ` undefined ` |
16+ | ` url ` | ` url ` | | ` string ` | ` undefined ` |
1317
1418
1519----------------------------------------------
Original file line number Diff line number Diff line change 44 " apps/*" ,
55 " components/*"
66 ],
7- "useWorkspaces" : true ,
87 "version" : " indipendent" ,
98 "npmClient" : " pnpm" ,
109 "conventionalCommits" : true ,
You can’t perform that action at this time.
0 commit comments