CodeBeam.MudBlazor.Extensions
CodeBeam.MudBlazor.Extensions copied to clipboard
[Feature] MudGallery - Support for Single Image as ImageSource
Hi, I couldn't find any previous issues for this request.
Current Behavior
MudGallery accepts a list of strings as the source images (ImageSource), allowing users to display multiple images in the gallery. However, there is no support for directly providing a single string as the ImageSource.
Desired Behavior
It would be beneficial to add a version of MudGallery that accepts a single string as the ImageSource, in addition to the existing capability to accept a list of strings. This will make it more convenient for users to display a single image in a gallery without the need to wrap it in a list.
Use Case
The use case for this feature is to simplify the usage of MudGallery when users only want to display a single image in the gallery. This will enhance the component's flexibility and user-friendliness.
Hmm, so whats the difference between one-value gallery and MudImage?
Sorry for the delay!
For me in particular, I wanted to retain the overlay, backdrop effects, Toolbox content ect... that the MudGallery provides but MudImage does not.
Understand, but isn't it very easy to set only one image for value?