Page 1 of 1

Remove events from a class

Posted: 07 June 2014, 08:37
by Archduke
Is there an analogy to the

Code: Select all

addEventToClass
method which enables us to remove an event from a class?

According to the dojo documentation there is no support for this when using connect. I guess for now I can remove and re-add the elements!

Re: Remove events from a class

Posted: 07 June 2014, 16:43
by Lolow
I found a solution for one of my problem in this topic (look bottom) . Maybe it will working for you :

http://forum.boardgamearena.com/viewtop ... ect#p10873

Re: Remove events from a class

Posted: 07 June 2014, 17:53
by Archduke
Many thanks! This should be perfect.

EDIT: This IS perfect! Works a dream.