1. 4
    Interpolate JavaScript Expressions in Vue
    2m 23s

Interpolate JavaScript Expressions in Vue

Share this video with your friends

Send Tweet

We'll see how to signal to Vue that a string should be considered as JavaScript to be interpolated. We do this with double curly braces ({{ }}). We'll also see that we can access data properties that have been used into Vue during configuration.

While we are in between curly braces, we can do anything that JavaScript can do! Whether you want to manipulate the string to look how you'd like, conditionally render something based on the data you get, or anything else... it's up to you!