Profectus / features/clickables/repeatable / createRepeatable
Function: createRepeatable() ​
createRepeatable<
T>(optionsFunc):object&Omit<Omit<T,"display"|"onClick"|"requirements"|"limit"|"initialAmount">,"canClick"|"display"|"onClick"|"onHold"|"visibility"|"classes"|"style"| typeofVueFeature|"id"|"components"|"wrappers"|"requirements"|"limit"|"initialAmount"> &object
Lazily creates a repeatable with the given options.
Type Parameters ​
• T extends RepeatableOptions
Parameters ​
optionsFunc ​
() => T
Repeatable options.
Returns ​
object & Omit<Omit<T, "display" | "onClick" | "requirements" | "limit" | "initialAmount">, "canClick" | "display" | "onClick" | "onHold" | "visibility" | "classes" | "style" | typeof VueFeature | "id" | "components" | "wrappers" | "requirements" | "limit" | "initialAmount"> & object