Skip to content

ProgressBar with Asynchronous Value ? #48

Open
@JarredBlack

Description

@JarredBlack

Hello There,

I would like to find the way to use your library with percentage calculated,

I saw we can set the value, but to use progress bar with data changed in live ??

For example for updloading files it's (bytes / totalBytesFiles) *100 right ? ok But how to update value changing while uploading is used ?

In Javascript we can set value :
ldbar = new ldBar(document.querySelector('.ldBar'));
ldbar.set(80);

So the bar move and fill by until 80% is reach ok, but this 80 is static, my values are changing while my method is running

How can i achieve this ? Maybe with "data-transition-in" ???

Thanks for your answer :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions