Profectus / data/common / createCollapsibleAchievements
Function: createCollapsibleAchievements() ​
createCollapsibleAchievements(
achievements
):object
Creates a collapsible display of a list of achievements
Parameters ​
achievements ​
Record
<string
, Achievement
>
A dictionary of the achievements to display, inserted in the order from easiest to hardest
Returns ​
object
collapseAchievements ​
collapseAchievements:
Persistent
<boolean
>
display ​
display:
ComputedRef
<Element
>