Closed mrkenng closed 6 years ago
Hi @mrkenng! Thanks for using this script. For destroy you can use stop
method, in React.js like that:
componentWillUnmount() {
$('.element').atrotating('stop');
}
Also you can try with settings
Thank you @Arttse ! Just making sure :) Great work by the way!
I've been using your script for a while and really liked it. Was wondering if there's any destroy method? Or stop does the job in this case? The reason because I'm using it with react and wanted to destroy on unmount.