Articles
Latest
More
Newsletter Sponsorship Discord About
Sign up for our Newsletter
The video for this lesson is currently being updated, please read the transcript instead.
Build Your First Vue.js App > Lesson 20

Understanding filters

Another important feature of Vue is filters. Filters are functions that will transform Vue data for use in the DOM.

For that reason, they're usually used in interpolations or in v-bind expressions.

Let's have an example.

Imagine we have a data property called message which is a string.

We want to transform that string by capitalizing the first letter. So we create a filter called capitalize.


Back to course page

Click to load comments...

Articles
  • Latest
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom