FlexSlider icon indicating copy to clipboard operation
FlexSlider copied to clipboard

Add event namespace and destroy method

Open fnagel opened this issue 10 years ago • 26 comments

based upon https://github.com/bradgreens/FlexSlider and tagged version 2.2.2

fnagel avatar Jul 29 '14 07:07 fnagel

Thanks for putting this up @fnagel :beer:

bradgreens avatar Aug 11 '14 18:08 bradgreens

@jeffikus Any chance destroy function can be merged/added soon since I see you've recently started working like a madman on this project?

I would like to use this in a node-webkit project I'm finishing up and destroy methods are super necessary there to keep memory usage down.

akluthe avatar Feb 27 '15 14:02 akluthe

@akluthe I've assigned this to the 2.5.0 cycle, which I'm starting today.

jeffikus avatar Mar 02 '15 09:03 jeffikus

@jeffikus , It will be excellent, If destroy method will be on FlexSlider. It is really important feature.

rusikf avatar Apr 30 '15 16:04 rusikf

i'd be happy to have this feature implement too. thanks for the work guys! :)

bonbonlanges avatar May 11 '15 10:05 bonbonlanges

Hi everyone, have bumped to 2.6.0 release. Haven't had to time to get it into this release. Thanks for your patience!

jeffikus avatar May 22 '15 15:05 jeffikus

+1 for a destroy method :)

marcfalk avatar Jun 28 '15 12:06 marcfalk

:+1: for this. I've been needing this for ages

shipleyr avatar Jul 13 '15 14:07 shipleyr

Has this been added yet? I can't see anything in the documentation about it? Thanks.

Edit: I see it's actually gone back to 2.6.0. Argh. How can I destroy an instance?

JohnnyWalkerDigital avatar Aug 11 '15 10:08 JohnnyWalkerDigital

Didn't make it in time for testing for 2.6.0 unfortunately.

jeffikus avatar Oct 05 '15 13:10 jeffikus

:(

JohnnyWalkerDigital avatar Oct 05 '15 14:10 JohnnyWalkerDigital

It didn't make it in time because not enough priority was put in to making it for 2.6.0. Maybe this should be made higher priority as it's quite a demanded feature. I'd happily accept waiting for any new features for the ability to destroy an instance.

shipleyr avatar Oct 05 '15 14:10 shipleyr

@shipleyr just so you are aware, I've prioritized bugfixes over features this release - If you look at the prioritized features for 2.7.0 you will see the destroy feature is listed as the primary focus, as well as there only being 2 assigned issues for the milestone. In addition I've already started working through those issues/enhancements.

jeffikus avatar Oct 06 '15 10:10 jeffikus

That's great news!

JohnnyWalkerDigital avatar Oct 06 '15 10:10 JohnnyWalkerDigital

@jeffikus That's good to know. In all honestly I'd have sacrificed some of the bug fixes for this feature. It's killing me having to patch flexslider each upgrade to make it work. I'll eagerly await the next release.

shipleyr avatar Oct 06 '15 10:10 shipleyr

+1 desperately needed because of RWD

simoozzay avatar Oct 28 '15 16:10 simoozzay

flexslider is only causing headaches! Switched to slick now I am happy and try to forget about the wasted hours.

ceberocks avatar Nov 25 '15 13:11 ceberocks

+1

crohrer avatar Feb 29 '16 16:02 crohrer

2.7.0 release is taking some time, so moving this into 2.6.1 fix release for this friday.

jeffikus avatar Mar 15 '16 12:03 jeffikus

Looks like friday didn't go as expected as well ;)

tilwinjoy avatar May 31 '16 11:05 tilwinjoy

@tilwinjoy 2.6.1 was released, as I felt this feature shouldnt delay release any further.

jeffikus avatar May 31 '16 11:05 jeffikus

@jeffikus I see. Is there any possibility that if not a full fledged destroy method, just a eventNamespace will be added in the near future?

My usecase is that I wrapped FlexSlider in an AngularJS directive and found out that the combination causes memory leaks while switching routes. So if there's a namespace I could safely do the unbinding without destroying other handlers.

tilwinjoy avatar May 31 '16 14:05 tilwinjoy

I haven't touched Flexslider in forever (I did the original destroy fork circa 2012). I would agree with @tilwinjoy that the namespace is important, I used namespaces on all my old jQuery projects due to concerns with removing events on elements on a case-by-case basis, where multiple libraries may compete for those events.

That said I realize Flexslider is still popular, at our company we're phasing out jQuery in favor of crisp Angular codebases, so I'm keeping an eye out for solutions which do not depend on "the dollar".

bradgreens avatar May 31 '16 20:05 bradgreens

has the destroy feature been implemented yet?

ui-aliraza avatar Dec 06 '16 12:12 ui-aliraza

Any update on getting the destroy feature integrated?

curiouscrusher avatar Apr 11 '17 15:04 curiouscrusher

Ping from 2019... why does this take 5 years to implement?

tschallacka avatar Mar 25 '19 10:03 tschallacka