Props
| Name | Type | Default value | Required? | Description |
|---|---|---|---|---|
choreo | Object | - | Yes | - |
width | Number | 500 | No | - |
downloadUrl | String | - | Yes | - |
downloadOptions | Array | - | Yes | - |
Data
| Name | Type | Default value | Description |
|---|---|---|---|
id | String | - | - |
selectedDownloadOptionId | String | "mp4" | - |
Computed
| Name | Type | Description |
|---|---|---|
selectedDownloadOption | Object | - |
Events
| Name | Payload Type | Description |
|---|---|---|
downloadOptionChanged | String | - |
Examples
<template>
<VideoDownloadModal ref="videoDownloadModal" :choreo="choreoObj" :width="800" :downloadUrl="url" :downloadOptions="options" @downloadOptionChanged="handler" />
<Button @click="() => $refs.videoDownloadModal.open()" />
</template><VideoDownloadModal :choreo="choreoObj" :width="800" :downloadUrl="url" :downloadOptions="options" @downloadOptionChanged="handler" /><VideoDownloadModal :downloadUrl="url" :downloadOptions="options" @downloadOptionChanged="handler" />