profectus-docs/assets/api_mixins_bonusAmount_functions_bonusAmountMixin.md.CPdXnsUT.lean.js

1 line
3.8 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 t,c as o,a0 as a,o as n}from"./chunks/framework.P9qPzDnn.js";const b=JSON.parse('{"title":"Function: bonusAmountMixin()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/mixins/bonusAmount/functions/bonusAmountMixin.md","filePath":"api/mixins/bonusAmount/functions/bonusAmountMixin.md","lastUpdated":null}'),r={name:"api/mixins/bonusAmount/functions/bonusAmountMixin.md"};function i(u,e,s,c,l,m){return n(),o("div",null,e[0]||(e[0]=[a('<p><a href="./../../../">Profectus</a> / <a href="./../">mixins/bonusAmount</a> / bonusAmountMixin</p><h1 id="function-bonusamountmixin" tabindex="-1">Function: bonusAmountMixin() <a class="header-anchor" href="#function-bonusamountmixin" aria-label="Permalink to &quot;Function: bonusAmountMixin()&quot;"></a></h1><blockquote><p><strong>bonusAmountMixin</strong>(<code>baseAmount</code>, <code>bonusAmount</code>): <code>object</code></p></blockquote><p>Allows the addition of &quot;bonus levels&quot; to a feature, with an accompanying &quot;total amount&quot;.</p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="baseamount" tabindex="-1">baseAmount <a class="header-anchor" href="#baseamount" aria-label="Permalink to &quot;baseAmount&quot;"></a></h3><p><a href="https://vuejs.org/guide/typescript/composition-api.html#typing-ref" target="_blank" rel="noreferrer"><code>Ref</code></a>&lt;<a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>, <a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>&gt;</p><h3 id="bonusamount" tabindex="-1">bonusAmount <a class="header-anchor" href="#bonusamount" aria-label="Permalink to &quot;bonusAmount&quot;"></a></h3><p><a href="https://vuejs.org/api/utility-types.html#maybereforgetter" target="_blank" rel="noreferrer"><code>MaybeRefOrGetter</code></a>&lt;<a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>&gt;</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>object</code></p><h3 id="bonusamount-1" tabindex="-1">bonusAmount <a class="header-anchor" href="#bonusamount-1" aria-label="Permalink to &quot;bonusAmount&quot;"></a></h3><blockquote><p><strong>bonusAmount</strong>: <a href="https://vuejs.org/api/utility-types.html#mayberef" target="_blank" rel="noreferrer"><code>MaybeRef</code></a>&lt;<a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>&gt; | <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-computed" target="_blank" rel="noreferrer"><code>ComputedRef</code></a>&lt;<a href="./../../../lib/break_eternity/type-aliases/DecimalSource"><code>DecimalSource</code></a>&gt; = <code>processedBonusAmount</code></p></blockquote><h3 id="totalamount" tabindex="-1">totalAmount <a class="header-anchor" href="#totalamount" aria-label="Permalink to &quot;totalAmount&quot;"></a></h3><blockquote><p><strong>totalAmount</strong>: <a href="https://vuejs.org/guide/typescript/composition-api.html#typing-computed" target="_blank" rel="noreferrer"><code>ComputedRef</code></a>&lt;<a href="./../../../lib/break_eternity/classes/default"><code>default</code></a>&gt;</p></blockquote><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/mixins/bonusAmount.ts#L6" target="_blank" rel="noreferrer">profectus/src/mixins/bonusAmount.ts:6</a></p>',17)]))}const p=t(r,[["render",i]]);export{b as __pageData,p as default};