JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › General Discussions › How to use ItemTemplate from File Upload › Reply To: How to use ItemTemplate from File Upload
January 29, 2022 at 4:34 pm
#102820
Keymaster
Hi,
You can look at https://www.htmlelements.com/angular/demos/fileupload/item-template/. That demo shows how to use the ItemTemplate property. You can edit the demo in Stackblitz. The Template is defined in the index.html. Here is how the template is declared in the demo:
<template id="itemTemplate">
<smart-progress-bar>{{filename}}</smart-progress-bar>
</template>
You can use the filename property as a parameter in the template. The HTML structure of the template can be edited based on your web application requirements.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/