Replies: 1 comment 1 reply
-
@Baroshem thanks for putting this together, have a few initial thoughts on the widget API
with the above in mind, I think having a wdyt? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there and welcome to this RFC about Product Gallery component powered by Cloudinary!
Below, I have gathered information about the current implementation in Nuxt CLD and how it could be extracted into generic Cloudinary URL Loader / Helpers.
What is Cloudinary Product Gallery widget?
Cloudinary's Product Gallery is an interactive user interface for displaying your products to your users on your website or application. The Product Gallery requires only pure JavaScript to integrate, is easy to use within any web development framework, and eliminates the need to develop an in-house interactive media gallery with just a few lines of code.
You can read more about it here
Usage
Users can use Product Gallery in Nuxt (Vue) as following:
Users can also pass some optional params like following:
Extracting code to Cloudinary Community Packages
The code for the CldProductGallery component is quite small and you can see it here.
The only code I can see that could be extracted is the code responsible for parsing the options from props:
Apart from that, the code is quite framework oriented so we won't be able to move it easily.
Summary
This was the implementation that I have created for Nuxt so let's consider it as a beta which we can modify to support more examples and be more usable in general. I am open for any feedback from you :)
Beta Was this translation helpful? Give feedback.
All reactions