LuccaSA / lucca-ui

Framework Sass & Angular by Lucca
http://luccasa.github.io/lucca-ui
MIT License
13 stars 1 forks source link

[UploaderService] Enhance service to handle any file type #475

Open bastienguillon opened 7 years ago

bastienguillon commented 7 years ago

The UploaderService currently only handles image file types, but it could handle any file type with minor changes. These changes could easily be non-breaking, by adding optional parameters to the three methods exposed by the IUploaderService interface.

Adding an optional parameter to specify the name of the file (instead of file.png) would also be a nice touch.