-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,223 additions
and
972 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
<script setup lang="ts"> | ||
const buttonId = "open-btn"; | ||
const apiKey = "12345"; | ||
const buttonId = 'open-btn' | ||
const apiKey = '12345' | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<button :id="buttonId">Select Image or Video</button> | ||
<CldMediaLibrary :api-key="apiKey" :button-id="buttonId" /> | ||
<button :id="buttonId"> | ||
Select Image or Video | ||
</button> | ||
<CldMediaLibrary | ||
:api-key="apiKey" | ||
:button-id="buttonId" | ||
/> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
<script setup lang="ts"> | ||
const mediaAssets = [ | ||
{ tag: "electric_car_product_gallery_demo" }, // by default mediaType: "image" | ||
{ tag: "electric_car_product_gallery_demo", mediaType: "video" }, | ||
{ tag: "electric_car_360_product_gallery_demo", mediaType: "spin" }, | ||
]; | ||
{ tag: 'electric_car_product_gallery_demo' }, // by default mediaType: "image" | ||
{ tag: 'electric_car_product_gallery_demo', mediaType: 'video' }, | ||
{ tag: 'electric_car_360_product_gallery_demo', mediaType: 'spin' }, | ||
] | ||
</script> | ||
|
||
<template> | ||
<CldProductGallery :media-assets="mediaAssets" cloud-name="demo" /> | ||
<CldProductGallery | ||
:media-assets="mediaAssets" | ||
cloud-name="demo" | ||
/> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- eslint-disable vue/no-multiple-template-root --> | ||
<template> | ||
<slot /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.