markusslima/bootstrap-filestyle

Change on htmlIcon / data-icon

Opened this issue · 0 comments

Here I changed "btn" in constructor:
'<i class="' + _self.htmlIcon() + '"></i>'

To use data-icon attribute like this:
data-icon="fas fa-file-upload"

Is it a bad idea?