Interpolation is simply defined as a data binding syntax. We have already used interpolation while we are doing our application from the previous tutorial. To remind us what interpolations are, let us have some screen captures.
The most basic is the text interpolation as shown in the image below.
The above code displays a plain text. You might ask “is it possible to bind an html?” The answer is definitely yes! The next example is a Raw HTML interpolation.
The next one is expressions. We have already used it before so take a look at this example image below.
You might want to bind your data inside your html element for dynamic data, let’s say id’s or etc. We can use attribute as interpolation similar to this image.