Skip to content

Instantly share code, notes, and snippets.

@talkingdotnet
Created April 3, 2018 09:51
Show Gist options
  • Save talkingdotnet/c57b701315b2695828582a00d1c5416d to your computer and use it in GitHub Desktop.
Save talkingdotnet/c57b701315b2695828582a00d1c5416d to your computer and use it in GitHub Desktop.
<h1>File Upload Using Angular 5 and ASP.NET Core 2.1</h1>
<input #file type="file" multiple (change)="upload(file.files)" />
<br/>
<span style="font-weight:bold;color:green;" *ngIf="progress > 0 && progress < 100">
{{progress}}%
</span>
<span style="font-weight:bold;color:green;" *ngIf="message">
{{message}}
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment