Good afternoon everyone.
Guys tell me how to use the html\template to constantly transfer data to the HTML template, for example, a timer or the amount of downloaded data?
Thanks in advance for help.
You can’t. The template is rendered exactly once.
If you want to update a value dynamically without triggering a manual request, you need to implement that using JavaScript on the clientside.
Well, this is a front end issue. I still use AngularJS for this kind of applications but is a little… obsolete. However, you can use Ajax, Vue.js or other similar ways to do this.
1 Like
That is, I have a method that returns the value of the downloaded file, and it does not display information on the client in real time? That is, there is no property wrapper? Sadly.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.