partialify icon indicating copy to clipboard operation
partialify copied to clipboard

cannot use "class" in HTML - it will not evaluate things like vue expressions.

Open jlem opened this issue 10 years ago • 1 comments

<div id="comment-{{id}}" class="level{{level}}">

id will evaluate, but level will not, because when you require an html template that has a class attribute, it breaks the expression inside of the equal. However, you can't do "className" like you can in React, because then it just spits out "classname" as the attribute.

jlem avatar Jun 15 '15 22:06 jlem

@bclinkinbeard has this issue been ever resolved.

@jlem could you share if you have a work around to get around this issue?

rajesh-kanakabandi avatar Feb 29 '16 19:02 rajesh-kanakabandi