[ 2 posts ]

Marc

YUI Contributor

  • Offline
  • Profile

Detecting keyboard action

Post Posted: Sat Jun 26, 2010 1:48 am
+0-
It would be nice if this could be used to distinguish between keyboard ation and mouse action also, because I'm interested in knowing when a user stops typing. In my case, it is to prevent an autocomplete from firing to often. So, for me "stop typing" means: detect that user starts typing: detect that user stops typing which is inaction of a fraction of a second.

Cheers,

Marc

Caridy Patino

YUI Contributor

  • Username: caridy
  • Joined: Mon Dec 08, 2008 5:40 pm
  • Posts: 493
  • Location: Miami, FL
  • Twitter: caridy
  • GitHub: caridy
  • Gists: caridy
  • IRC: caridy
  • YUI Developer
  • Offline
  • Profile
Tags:

Re: Detecting keyboard action

Post Posted: Sun Jun 27, 2010 6:55 am
+0-
Hey Marc,

I don't think that's a valid use-case for this component. The thing here is to detect that the user is doing nothing. Detecting if the user stop typing into an input element looks like a complete different use-case to me. Maybe you can create a new module for that.

Best Regards,
Caridy
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum