Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]changing from last state instead of from start-val #32

Open
serfend opened this issue Jun 27, 2020 · 0 comments
Open

Comments

@serfend
Copy link

serfend commented Jun 27, 2020

<count-to :start-val="0"  :end-val="val" />
<script>
methods:{
    modify() {
      this.val += 100
    }
}
</script>

at first time execute modify() it would from 0 to 100,
how could at second/more times execute modify(), let it from 100 to 200 , instead of 0 to 100 again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant