profectus-docs/assets/api_interfaces_features_particles_particles.BaseParticles.md.1d33b966.js

2 lines
8 KiB
JavaScript
Raw Normal View History

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('<h1 id="interface-baseparticles" tabindex="-1">Interface: BaseParticles <a class="header-anchor" href="#interface-baseparticles" aria-hidden="true">#</a></h1><p><a href="./../../../modules/features/particles/particles.html">features/particles/particles</a>.BaseParticles</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="component" tabindex="-1">[Component] <a class="header-anchor" href="#component" aria-hidden="true">#</a></h3><p>\u2022 <strong>[Component]</strong>: <code>DefineComponent</code>&lt;{ <code>classes</code>: <code>PropType</code>&lt;<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>Record</code>&lt;<code>string</code>, <code>boolean</code>&gt;&gt;&gt; ; <code>id</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>StringConstructor</code> = String } ; <code>onContainerResized</code>: <code>PropType</code>&lt;(<code>rect</code>: <code>DOMRect</code>) =&gt; <code>void</code>&gt; ; <code>onHotReload</code>: <code>PropType</code>&lt;<code>VoidFunction</code>&gt; ; <code>onInit</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>PropType</code>&lt;(<code>app</code>: <code>Application</code>) =&gt; <code>void</code>&gt; } ; <code>style</code>: <code>PropType</code>&lt;<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>&gt;&gt; }, { <code>resizeListener</code>: <code>Ref</code>&lt;<code>null</code> | <a href="https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement" target="_blank" rel="noopener noreferrer"><code>HTMLElement</code></a>&gt; ; <code>unref</code>: &lt;T&gt;(<code>ref</code>: <code>T</code> | <code>Ref</code>&lt;<code>T</code>&gt;) =&gt; <code>T</code> }, <code>unknown</code>, {}, {}, <code>ComponentOptionsMixin</code>, <code>ComponentOptionsMixin</code>, <code>Record</code>&lt;<code>string</code>, <code>any</code>&gt;, <code>string</code>, <code>PublicProps</code>, <code>Readonly</code>&lt;<code>ExtractPropTypes</code>&lt;{ <code>classes</code>: <code>PropType</code>&lt;<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>Record</code>&lt;<code>string</code>, <code>boolean</code>&gt;&gt;&gt; ; <code>id</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>StringConstructor</code> = String } ; <code>onContainerResized</code>: <code>PropType</code>&lt;(<code>rect</code>: <code>DOMRect</code>) =&gt; <code>void</code>&gt; ; <code>onHotReload</code>: <code>PropType</code>&lt;<code>VoidFunction</code>&gt; ; <code>onInit</code>: { <code>required</code>: <code>true</code> = true; <code>type</code>: <code>PropType</code>&lt;(<code>app</code>: <code>Application</code>) =&gt; <code>void</code>&gt; } ; <code>style</code>: <code>PropType</code>&lt;<a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>&gt;&gt; }&gt;&gt;, {}&gt;</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/part