ng2-file-input icon indicating copy to clipboard operation
ng2-file-input copied to clipboard

add default palceholder picture for non image types

Open hosseinjalili opened this issue 6 years ago • 0 comments

hi

please add an ability to add a json file for non image file picture placeholder like .pdf. for example: <ng2-file-input (onAction)="fileChange($event)" [typePlaceHolder]="{'.pdf':data:image/png;base64,iVBORw0KGg}" extensions="['jpeg','png','jpg','pdf']">

then base64 image place on src img tag attribute and show that image and title beside each other.

regards

hosseinjalili avatar Sep 30 '18 12:09 hosseinjalili