mini-van
mini-van copied to clipboard
allow variable for data attribute
The HTML attribute "data" is often used in modern applications. The related name of the attribute is the combination of the fixed "data-" string and a individual name for that attribute. However the van tags properties requires strings for the property key. That's ok for the most attributes but is a limitation in dynamic DOM handling and querying. The "name" part of an data attribute should be allowed as a variable.