Skip to content
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.

Help, what does “:data-value” in html templates mean? #970

@SouthMemory

Description

@SouthMemory

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions