import{_ as e,c as t,o,a as r}from"./app.e5a3543f.js";const g='{"title":"Interface: BaseParticles","description":"","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"app","slug":"app"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"type","slug":"type"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"addEmitter","slug":"addemitter"}],"relativePath":"api/interfaces/features/particles/particles.BaseParticles.md"}',d={},c=r('
features/particles/particles.BaseParticles
\u2022 [Component]: DefineComponent
<{ classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; id
: { required
: true
= true; type
: StringConstructor
= String } ; onContainerResized
: PropType
<(rect
: DOMRect
) => void
> ; onHotReload
: PropType
<VoidFunction
> ; onInit
: { required
: true
= true; type
: PropType
<(app
: Application
) => void
> } ; style
: PropType
<ProcessedComputable
<StyleValue
>> }, { resizeListener
: Ref
<null
| HTMLElement
> ; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; id
: { required
: true
= true; type
: StringConstructor
= String } ; onContainerResized
: PropType
<(rect
: DOMRect
) => void
> ; onHotReload
: PropType
<VoidFunction
> ; onInit
: { required
: true
= true; type
: PropType
<(app
: Application
) => void
> } ; style
: PropType
<ProcessedComputable
<StyleValue
>> }>>, {}>
profectus/src/features/particles/particles.tsx:30
\u2022 app: Ref
<null
| Application
>
profectus/src/features/particles/particles.tsx:27
\u2022 id: string
profectus/src/features/particles/particles.tsx:26
\u2022 type: typeof ParticlesType
profectus/src/features/particles/particles.tsx:29
\u25B8 [GatherProps](): Record
<string
, unknown
>
Record
<string
, unknown
>
profectus/src/features/particles/particles.tsx:31
\u25B8 addEmitter(config
): Promise
<Emitter
>
Name | Type |
---|---|
config | EmitterConfigV3 |
Promise
<Emitter
>