Vue - v-text directive for variable in HTML

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

 

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