Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
count | Number | - | Yes | The current count value for the overview. |
hitsForCurrentCount | Array | - | Yes | The list of hits for the current count. |
lineupsForCurrentCount | Array | - | Yes | The list of lineups for the current count. |
teamMembers | Array | - | Yes | The list of team members. |
choreo | Object | - | Yes | The choreography object. |
currentPositions | Array | - | Yes | The current positions of team members. |
interactive | Boolean | true | No | Whether the overview is interactive. |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
editHitId | Number|null | null | The ID of the hit currently being edited, or null if none. |
editHitName | String|null | null | The name of the hit currently being edited. |
editHitAchter | Number | 1 | The 'Achter' value for the hit being edited. |
editHitCount | Number | 1 | The count value for the hit being edited. |
editHitMembers | Array | - | The members assigned to the hit being edited. |
editLineupId | String|null | null | The ID of the lineup currently being edited, or null if none. |
editLineupStartAchter | Number | 1 | The starting 'Achter' value for the lineup being edited. |
editLineupStartCount | Number | 1 | The starting count value for the lineup being edited. |
editLineupEndAchter | Number | 1 | The ending 'Achter' value for the lineup being edited. |
editLineupEndCount | Number | 1 | The ending count value for the lineup being edited. |
editLineupMembers | Array | - | The members assigned to the lineup being edited. |
Events
| Name | Payload Type | Description |
|---|---|---|
updateHits | Array | Emitted when hits are updated. |
updateLineups | Array | Emitted when lineups are updated. |
updateCount | Number | Emitted when the count is updated. |
openCreateHitModal | null | Notifies 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" />