Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
teams | Array | - | Yes | - |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
id | String | - | - |
newChoreoName | String|null | null | - |
newChoreoAchter | Number | 1 | - |
newChoreoCount | Number | 0 | - |
newChoreoMatType | String | "cheer" | - |
newChoreoTeamId | Number|null | null | - |
newChoreoSeasonId | Number|null | null | - |
newChoreoParticipantIds | Array | - | - |
participantOptions | Array | - | - |
Computed
| Name | Type | Description |
|---|---|---|
selectedTeam | Object | - |
selectedSeasonTeam | Object | - |
timeEstimationString | String | - |
matTypeOptions | Array | - |
newChoreoNameIsValid | Boolean | - |
newChoreoNameStateFeedback | String|null | - |
newChoreoCountIsValid | Boolean | - |
newChoreoCountStateFeedback | String|null | - |
newChoreoAchterIsValid | Boolean | - |
newChoreoAchterStateFeedback | String|null | - |
newChoreoTeamIsValid | Boolean | - |
newChoreoTeamStateFeedback | String|null | - |
newChoreoMatTypeIsValid | Boolean | - |
newChoreoMatTypeStateFeedback | String|null | - |
newChoreoSeasonIsValid | Boolean | - |
newChoreoSeasonStateFeedback | String|null | - |
Events
| Name | Payload Type | Description |
|---|---|---|
addChoreo | Object | - |
Example
<template>
<CreateChoreoModal :teams="teams" ref="createChoreoModal" @addChoreo="handler" />
<Button @click="() => $refs.createChoreoModal.open()" />
</template>