Beau Hartshorne wrote:
> Can you please post a minimal example that demonstrates the problem?
My class, seriously compacted, will log the key press string
---
KeyNav = function(){ bindMethods(this); };
KeyNav.prototype = update(new widgetBase(), {
init: function(){
connect(currentDocument(), 'onkeydown', this.key_down);
},
key_down: function(e){
log(e.key().string);
}
});
key_nav = new KeyNav();
addLoadEvent(key_nav.init);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---