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
select
when user selects (clicks) an imagechange
(newImage, oldImage) when user chooses a different imagefiles
(FileList) when user chooses files to uploadend
when user has ended interacting with the galleryshow
when gallery is shownhide
when 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