Re: what should event.key be if a key inserts multiple characters?

On Tue, 25 May 2010 00:47:16 +0200, Jacob Rossi <rossi@gatech.edu> wrote:

> .keyCode  -  Deprecated. Use .key
> .charCode - Deprecated. Use .char
> .key - Name of key being pressed.
> .char - character value produced. Empty string if the key does not
> produce a character (arrow keys, function keys, etc.).

Short and sweet, with a clear link to the related properties from the  
past. Good naming, sir :)

-- 
Hallvord R. M. Steen, Core Tester, Opera Software
http://www.opera.com http://my.opera.com/hallvors/

Received on Tuesday, 25 May 2010 21:43:24 UTC