I am using HTML5 widget for spine.
let's say i have spine widget as below.
<div class="spine-widget" id="widget_1" style="display: inline-block; width: auto;"
data-json="url"
data-atlas="url"
data-animation="walk"
data-fit-to-canvas="true"
data-background-color="#FFFFFF"
</div>
I want to update my widget with jQuery as below.
$( "#widget_1" ).attr( "data-background-color", "#FFFF00" );
but it doesn't work 🙁
do you have any ideas?