How you guys unbind an event of a child fragment?

32 views
Skip to first unread message

Gabriel Pugliese

unread,
Oct 14, 2014, 1:18:02 PM10/14/14
to twitter...@googlegroups.com
Suppose I have the following binding:

this.on('click', { 
  buttonSelector: this.calculateShippingPrice,
  inputSelector: this.calculateShippingPrice 
});

How should I call this.off of the buttonSelector only, not of all component? Is it even possible given it's a delegation?

Tom Ashworth

unread,
Oct 15, 2014, 5:11:33 AM10/15/14
to Gabriel Pugliese, twitter...@googlegroups.com
Hi Gabriel,

I don't think this is currently possible — it's something I ran into recently. It's definitely worth fixing tho, so could you submit an issue on Github?

Thanks!
--
Tom

Gabriel Pugliese

unread,
Oct 15, 2014, 8:15:27 AM10/15/14
to Tom Ashworth, twitter...@googlegroups.com
Done :)



Gabriel Pugliese
CodersTV.com
@coderstv
Reply all
Reply to author
Forward
0 new messages