ngx-image-uploader icon indicating copy to clipboard operation
ngx-image-uploader copied to clipboard

Variabilize the HTML and CSS templates

Open celcius112 opened this issue 7 years ago • 1 comments

Hello,

In the previous image-uploader, the HTML and CSS templates were available as constants in the API. This was pretty useful if we were ever in the need to extend the ImageUploaderComponent, as we need to re-implement the component metadata and thus define the templateUrl and styleUrls values.

Would it be possible to variabilize these templates similarly to what was done in ng2-fancy-image-uploader ? And instead of having variables with raw HTML and CSS, it might be a good idea to have the references to the files, or to load the content of the files statically.

Thank you

celcius112 avatar Sep 24 '18 09:09 celcius112

That was a workaround :) I am thinking about implementing custom templates in angular way.

ogix avatar Jan 30 '19 19:01 ogix