PDA

View Full Version : [1.1 Beta CR] support delegation in behaviors instead of adding listeners



ilazarte
12 Jun 2007, 7:51 AM
I tried to post this in the FR forum, but I didn't have permissions.

Please see the thread below for background.

http://extjs.com/forum/showthread.php?t=7566

Ext.addBehaviors is a good candidate for moving to delegation since it would solve the potential issues pointed out (picking up dynamic dom elements, and performance of excessive numbers of listeners). From what I understand of the Ext code base this should be a relatively easy fix to implement, and thanks to the design of addBehaviors, the client code shouldn't have to change.

Thanks!