framework7

Open full view…

$$('selector').unbind(event, handler)?

olanchuy
Tue, 01 Jul 2014 16:53:34 GMT

Hi, I would like to suggest to add an unbind method like in jQuery. Where if the arguments are empty. It will unbind all events on the said selector.

Vladimir Kharlampidi
Wed, 02 Jul 2014 14:54:37 GMT

Sorry, but no chances for that :( At least for now. I know it could be useful, but it requires for whole internal events refactoring with proxy functions which is not good. So i recommend you to use .off where you need to pass handler function name