Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

Vue - v-text directive for variable in HTML

0 votes
30 views
added Nov 7, 2019 in Vue by LC Marshal Captain (25,800 points)
<!--Cant use text="{{ variable }}" in html attributes, use :text=""-->
<truncate clamp="+ Show more" :length="200" less =" - Show Less" :text="propertyData['property-detail']"></truncate>

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...