loading-bar icon indicating copy to clipboard operation
loading-bar copied to clipboard

data-value attribute is not being tracked

Open ceremcem opened this issue 8 years ago • 3 comments

Changing data-value attribute dynamically by the template engine (RactiveJS, in my case) does not make progress bar to update its value.

Tip: Re-rendering the progress bar solves the issue.

ceremcem avatar Jun 26 '17 15:06 ceremcem

You are supposed to use the set method of the loading-bar object, from what i understand. You can react on prop change and trigger the set method instead.

Kansuler avatar Nov 18 '18 19:11 Kansuler

Correct, that's what I do at the moment. I kept the issue open and left the decision to the owner to clarify if current one is the supposed behavior or if the loading-bar object should observe its data-value attribute.

ceremcem avatar Nov 18 '18 20:11 ceremcem

@ceremcem Can you share your implementation? I'm having the same problem and am not able to figure out how I should fix it.

abhipatel7 avatar Jun 27 '22 18:06 abhipatel7