import{_ as e,c as a,o as t,N as r}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Interface: RepeatableOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/repeatable.RepeatableOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/repeatable.RepeatableOptions.md"},i=r('
features/repeatable.RepeatableOptions
An object that configures a Repeatable.
• Optional
classes: Computable
<Record
<string
, boolean
>>
Dictionary of CSS classes to apply to this feature.
profectus/src/features/repeatable.tsx:62
• Optional
display: Computable
<RepeatableDisplay
>
The display to use for this repeatable.
profectus/src/features/repeatable.tsx:72
• Optional
initialAmount: DecimalSource
The initial amount this repeatable has on a new save / after reset.
profectus/src/features/repeatable.tsx:60
• Optional
limit: Computable
<DecimalSource
>
The maximum amount obtainable for this repeatable.
profectus/src/features/repeatable.tsx:58
• Optional
mark: Computable
<string
| boolean
>
Shows a marker on the corner of the feature.
profectus/src/features/repeatable.tsx:66
• Optional
maximize: Computable
<boolean
>
Whether or not clicking this repeatable should attempt to maximize amount based on the requirements met. Requires requirements to be a requirement or array of requirements with Requirement.canMaximize true.
profectus/src/features/repeatable.tsx:70
• requirements: Requirements
The requirement(s) to increase this repeatable.
profectus/src/features/repeatable.tsx:56
• Optional
small: Computable
<boolean
>
Toggles a smaller design for the feature.
profectus/src/features/repeatable.tsx:68
• Optional
style: Computable
<StyleValue
>
CSS to apply to this feature.
profectus/src/features/repeatable.tsx:64
• Optional
visibility: Computable
<boolean
| Visibility
>
Whether this repeatable should be visible.