Modal:DeleteChoreoModal
Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
choreoId | String | - | Yes | - |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
id | String | - | - |
Events
| Name | Payload Type | Description |
|---|---|---|
choreoDeleted | string | Emitted when choreo has been deleted |
Example
CODE
<template>
<DeleteChoreoModal ref="deleteChoreoModal" choreoId="abc" @choreoDeleted="handler" />
<Button @click="() => $refs.deleteChoreoModal.open()" />
</template>