This allows implementing a separate HTML element that can check the file size(in bytes) and, depending on the statement, display an error message using the *ngIf structural directive.
<div class="fileError" *ngIf="files[0].size > 150000">
(File is too large. File size above 150kb)
</div>
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.