vuejs

Filters

March 13, 2017 by
Part 29 of 55 in the Vue.js: From Beginner to Professional series

In this post we’ll be talking about something called filters. Filters provide a way to perform text transformation such as capitalizing letters or doing virtually anything we’d like. Filters can be used both within string interpolation, but also within the v-bind directive’s expression. As always, let’s dive straight into an example. I have a message… read more

Vue.js Watchers

March 13, 2017 by
Part 28 of 55 in the Vue.js: From Beginner to Professional series

Sometimes you may want to watch data for changes and react to them. Typically all you need is computed properties, but there are some scenarios where you need to implement a custom watcher. Before we talk more about when to use watchers, let’s first see an example of how to use them. We will build… read more