I am trying to add the data-columns attribute for salvattore.js, but I am facing an issue where I cannot simply add the attribute without providing a value. Currently, my code looks like this:
$('#liste-vdl div.view-content').attr("data-columns","0");
This results in the HTML:
<div class="view-content" data-columns="0">
While this approach allows me to apply CSS styles, I am wondering if there is a way to meet salvattore's requirements exactly?
Thank you.