30 Days of Vue - Methods and Computed Properties

added by JavaScript Kicks
1/10/2019 8:20:44 AM

339 Views

Methods in a Vue instance behave like normal JavaScript functions and are evaluated only when explicitly called. Instead of using methods we could always write our intended functionality change inline in the template. Let's see an example of this. We'll reuse an example seen in the Vue documentation that involves reversing a series of characters from a string.


0 comments