animo.js
animo.js copied to clipboard
this.element.data("animo") is undefined
my code
$('.t1').animo({animation: "bounceIn",keep: true})
i see ths code this.element.data("animo", this.queue[0])
->> 'this.queue[0]: bounceIn'
,but this.element.data("animo")
,i don't know why ?That will clear my other class
eg:
<!--before-->
<div class="win-frame t1">
i has win-frame,t1 class
</div>
<!--after -->
<div class="bounceIn">
i has win-frame,t1 class
</div>
my other class are clear.
I can not see the intention
of the code this.element.data("animo")
,that is in cleanse function
,can not find this value,i try $(x).attr('data-x')
,but same as undefined
.