zefoy / ngx-dropzone-wrapper

Angular wrapper library for Dropzone
MIT License
174 stars 51 forks source link

Prevent style insert #2

Closed ceberocks closed 8 years ago

ceberocks commented 8 years ago

The styles are inserted inline in the head, how can I prevent?

Thanks in advance clemens

sconix commented 8 years ago

Why do you want to prevent it? If you just don't want to use the default styles I just added support for disabling them. This still loads the style files but they don't have any effect so you can use your own styles. So with 0.9.0 version there is two new inputs:

useDropzoneClass: When set to false then the default styles of dropzone library are not used. useDzWrapperClass: When set to false then the styles of the wrapper library are not used.

sconix commented 8 years ago

I will close this, but if you have a good reason why you want to prevent the styles loading then I can look into that.