PDA

View Full Version : Documentation add request



ethraza
23 Jun 2007, 7:30 AM
I think that type of missing information on Documentation is at least a bug by omission.

The documentation of addKeyListener is not talking about the parameters passed to the handle function and sometimes it take hours or days to new bees to undestand that more than one parameter is currently passed:
On a:

SCOPEOBJ.addKeyListener(KEY, function(i,k,e){...}, SCOPEOBJ);The addKeyListener will pass 3 arguments to the handle function

1- i - The ID of the Scope Object
2- k - The Key pressed
3- e - The Event Object it self

In the hope that this helps somebody.

jon.whitcraft
24 Jun 2007, 8:17 AM
ethraza,

Thanks for the info. This would make a great addition to the manual section in the learn area of the website. http://extjs.com/learn/Ext_Manual

If you need help with where to post it just as Efege as he taking care of that section.