animo.js icon indicating copy to clipboard operation
animo.js copied to clipboard

this.element.data("animo") is undefined

Open yyman001 opened this issue 8 years ago • 0 comments

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.

yyman001 avatar May 20 '16 04:05 yyman001