Understanding class name prop as used here: <input type="text" class="{email: true}" />
- by justSteve
browsing some html code I find a text input coded as:
<input type="text" name="Email<%=orderRow.ID %>_<%=i %>" class="{email: true}" />
but need help understanding what's happening with the class declaration. It's not part of hte .net-ness of the page, right - lack of '<%' and '%' is telling me that. But I haven't seen an object used in a class name before.
thx