How to add data-attribute without value?
-
Hi!
When I’m adding data attribute with a value it works well, but when I leave the value empty, it’s not added. So, can I add just the attribute somehow?Example:
data-scroll data-scroll-speed=6
- The topic ‘How to add data-attribute without value?’ is closed to new replies.