Replies: 1 comment 1 reply
-
thanks for putting this together @Baroshem a few thoughts:
it would be more consistent to the current components and i think it would be a bit more intuitive
i think we'll be able to also set up similar functions for something like getMediaLibraryProps to make it consistent across frameworks |
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 Media Library component powered by Cloudinary!
What is Cloudinary Media Library widget?
By integrating the Cloudinary Media Library widget into your CMS or any other web application, all your users can easily select images, videos, PDFs, or other stored raw files directly from Cloudinary and insert them in a way that exactly fits your application design, required behavior, and overall workflow.
The integration involves only a few lines of code and provides you (and your users) all the benefits of Cloudinary's responsive Media Library UI with its rich search capabilities and optimized media asset delivery.
Usage
Users can use the CldMediaLibrary component like following:
The component accepts following props:
"demo"
"12345"
"my-btn"
"user"
false
{}
Users can customize default behavior like following:
And there is also an option to react to events like following:
ClsMediaLibrary emits following events:
(data) => { }
You can use this event like following:
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