The UI piece for a potential gallery image selector/uploader.
The test implements one with component/upload and an express backend to get you started.
component-install stagas/gallery
selectwhen user selects (clicks) an imagechange(newImage, oldImage) when user chooses a different imagefiles(FileList) when user chooses files to uploadendwhen user has ended interacting with the galleryshowwhen gallery is shownhidewhen gallery is hidden
- Gallery()
- Gallery.set()
- Gallery.add()
- Gallery.select()
- Gallery.render()
- Gallery.show()
- Gallery.hide()
Gallery class.
Set path and files.
Add image file to collection.
Selects an image.
Render gallery view.
Show gallery. Lazily render if not already.
Hide gallery.
MIT