Closed GirlBossRush closed 11 years ago
Hi Eric!
Ooops, I misread your comment. Sorry about that (in case GitHub sent you the original and somewhat confused version of my reply).
Here's my edited reply:
Yes I could have a look into adding a disable()
method, or enable(false)
. Simply calling enable()
could re-enable it an remember initial config params.
Best regards, KajMagnus
Hi again. I just pushed a commit with disable()
and enable()
functions.
Calling enable()
with no {options}
enables the plugin with the config params last specified when calling enable()
. (Or {}
if it's the first time.)
(This should work fine I hope?)
Hi! I'm closing this issue now,
Best regads, KajMagnus
The plugin works great but I am unable to disable it. I'm using Backbone.js so there aren't any page refreshes. Is it possible to include a disable method or have the enable method accept a boolean variable?
Thank you.