peachananr / simple-text-rotator

Add a super simple rotating text to your website with little to no markup
http://peachananr.github.io/simple-text-rotator/demo.html
GNU General Public License v2.0
748 stars 249 forks source link

Add a destroy function #30

Open LouWii opened 9 years ago

LouWii commented 9 years ago

Hi there,

I'm using this great tiny plugin but there's one thing I don't know how to do : remove or destroy the plugin when set on an element.

I know a lot of jQuery plugins out there have this function available.

I looked at the code and I'm not sure of how to process.

Thanks for any help :)

filippolcr commented 8 years ago

Or even a pause(), start() stop() event after that text-rotator is initialized.