Props

NameTypeDefault valueRequired?Description
countNumber-YesThe current count value for the overview.
hitsForCurrentCountArray-YesThe list of hits for the current count.
lineupsForCurrentCountArray-YesThe list of lineups for the current count.
teamMembersArray-YesThe list of team members.
choreoObject-YesThe choreography object.
currentPositionsArray-YesThe current positions of team members.
interactiveBooleantrueNoWhether the overview is interactive.

Data

NameTypeDefault valueDescription
editHitIdNumber|nullnullThe ID of the hit currently being edited, or null if none.
editHitNameString|nullnullThe name of the hit currently being edited.
editHitAchterNumber1The 'Achter' value for the hit being edited.
editHitCountNumber1The count value for the hit being edited.
editHitMembersArray-The members assigned to the hit being edited.
editLineupIdString|nullnullThe ID of the lineup currently being edited, or null if none.
editLineupStartAchterNumber1The starting 'Achter' value for the lineup being edited.
editLineupStartCountNumber1The starting count value for the lineup being edited.
editLineupEndAchterNumber1The ending 'Achter' value for the lineup being edited.
editLineupEndCountNumber1The ending count value for the lineup being edited.
editLineupMembersArray-The members assigned to the lineup being edited.

Events

NamePayload TypeDescription
updateHitsArrayEmitted when hits are updated.
updateLineupsArrayEmitted when lineups are updated.
updateCountNumberEmitted when the count is updated.
openCreateHitModalnullNotifies parent component to call open() on CreateHitModal.

Examples

<CountOverview :count="0" :choreo="choreoObj" :teamMembers="members" @updateHits="handler" @updateLineups="handler" @updateCount="handler" @openCreateHitModal="handler" />
<CountOverview :count="0" :choreo="choreoObj" :teamMembers="members" :interactive="false"  @updateHits="handler" @updateLineups="handler" @updateCount="handler" @openCreateHitModal="handler" />