Using AlpineJS I have the following code:
<span class="value" x-text="calculate"></span>
The function calculate
returns a number.
How to inside the x-text add the character "€" after the number?
Using AlpineJS I have the following code:
<span class="value" x-text="calculate"></span>
The function calculate
returns a number.
How to inside the x-text add the character "€" after the number?
2
Answers
you can do the following:
This should work: