pyspider
pyspider copied to clipboard
Help, what does “:data-value” in html templates mean?
I was learning django
I can not understand
1、how @binux managed to update task status dynamically, by ajax polling or websocket?
2、what is the use of ":data-value" in template "index.html" ? for example :
<td v-for="type in '5m,1h,1d,all'.split(',')" class="project-progress progress-{{* type }}" :title="project.progress[type].title" :data-value="project.progress[type].task">
Thanks anyone if you can give some tips
They're vue.js templates
They're vue.js templates
Thanks, but I still can not figure out how task status are updated dynamically, is it by ajax polling or websocket?
Ajax polling
On Mon, May 10, 2021, 8:10 PM lunshu @.***> wrote:
They're vue.js templates
Thanks, but I still can not figure out how task status are updated dynamically, is it by ajax polling or websocket?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/binux/pyspider/issues/970#issuecomment-837707304, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAE52M6MZLS3CVK3AYHCS2TTNCN3XANCNFSM44TOXMTA .