profectus-docs/assets/api_interfaces_features_reset.ResetOptions.md.2f5fd25e.js

1 line
2.4 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as t,o as r,N as a}from"./chunks/framework.0799945b.js";const _=JSON.parse('{"title":"Interface: ResetOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/reset.ResetOptions.md","lastUpdated":null}'),s={name:"api/interfaces/features/reset.ResetOptions.md"},o=a('<h1 id="interface-resetoptions" tabindex="-1">Interface: ResetOptions <a class="header-anchor" href="#interface-resetoptions" aria-label="Permalink to &quot;Interface: ResetOptions&quot;"></a></h1><p><a href="./../../modules/features/reset">features/reset</a>.ResetOptions</p><p>An object that configures a Clickable.</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="onreset" tabindex="-1">onReset <a class="header-anchor" href="#onreset" aria-label="Permalink to &quot;onReset&quot;"></a></h3><p>• <code>Optional</code> <strong>onReset</strong>: <code>VoidFunction</code></p><p>A function that is called when the reset is performed.</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/reset.ts#L24" target="_blank" rel="noreferrer">profectus/src/features/reset.ts:24</a></p><hr><h3 id="thingstoreset" tabindex="-1">thingsToReset <a class="header-anchor" href="#thingstoreset" aria-label="Permalink to &quot;thingsToReset&quot;"></a></h3><p>• <strong>thingsToReset</strong>: <a href="./../../modules/util/computed#computable"><code>Computable</code></a>&lt;<a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a>&lt;<code>string</code>, <code>unknown</code>&gt;[]&gt;</p><p>List of things to reset. Can include objects which will be recursed over for persistent values.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/70cda5f/src/features/reset.ts#L22" target="_blank" rel="noreferrer">profectus/src/features/reset.ts:22</a></p>',15),n=[o];function i(c,d,l,p,h,f){return r(),t("div",null,n)}const b=e(s,[["render",i]]);export{_ as __pageData,b as default};