dreambo8563 / easy-circular-progress

easy circular progress component with counting effect πŸ’«πŸΊπŸŽ‘
https://dreambo8563.github.io/easy-circular-progress/
MIT License
121 stars 22 forks source link

is there any option about change values #36

Open khesjee opened 3 years ago

khesjee commented 3 years ago

hi guys

I've got an error about that [Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "value"

how to update component's value of progress

i just change directly like "this.$refs.progress.value = result.value"

i can't use eventBus&$emit. cuz i can't access the component directly.

need a helps. thank you

khesjee commented 3 years ago

one more question, Is there any option to make sure the progress gauge stays on? it changes progress value in ms, and then start over from 0. so it keeps 0 and progress to be 100 then it goes on.