YAHOO.util.KeyListener
                                
                                        
                            
                        
                                    (
  
                                        
                                                
                                                attachTo
                                                , 
                                                keyData
                                                , 
                                                handler
                                                , 
                                                event
                                    )
                                
                                - Parameters:
- 
                                                    attachTo <HTMLElement>The element or element ID to which the key event should be attached
- 
                                                    attachTo <String>The element or element ID to which the key event should be attached
- 
                                                    keyData <Object>The object literal representing the key(s) to detect. Possible attributes are shift(boolean), alt(boolean), ctrl(boolean) and keys(either an int or an array of ints representing keycodes).
- 
                                                    handler <Function>The CustomEvent handler to fire when the key event is detected
- 
                                                    handler <Object>An object literal representing the handler.
- 
                                                    event <String>Optional. The event (keydown or keyup) to listen for. Defaults automatically to keydown.