Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
count | Number | - | Yes | - |
choreo | Object | - | Yes | - |
teamMembers | Array | - | Yes | - |
lineupsForCurrentCount | Array | - | Yes | - |
currentPositions | Array | - | Yes | - |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
id | String | - | - |
editLineupStartAchter | Number | 1 | - |
editLineupStartCount | Number | 1 | - |
editLineupEndAchter | Number | 1 | - |
editLineupEndCount | Number | 1 | - |
editLineupMembers | Array | - | - |
Computed
| Name | Type | Description |
|---|---|---|
startIsBeforeEnd | Boolean | - |
startIsBeforeEndStateFeedback | String|null | - |
editLineupEndAchterIsValid | Boolean | - |
editLineupEndAchterStateFeedback | String|null | - |
editLineupStartAchterIsValid | Boolean | - |
editLineupStartAchterStateFeedback | String|null | - |
editLineupStartCountIsValid | Boolean | - |
editLineupStartCountStateFeedback | String|null | - |
editLineupEndCountIsValid | Boolean | - |
editLineupEndCountStateFeedback | String|null | - |
editLineupMembersIsValid | Boolean | - |
editLineupMembersStateFeedback | String|null | - |
Events
| Name | Payload Type | Description |
|---|---|---|
updateLineups | Object | - |
Example
<template>
<CreateLineupModal ref="createLineupModal" :count="1" :choreo="choreoObj" :teamMembers="members" :lineupsForCurrentCount="lineups" :currentPositions="positions" @updateLineups="handler" />
<Button @click="() => $refs.createLineupModal.open()" />
</template>