aym / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

Allow Virtual Keyboards to be used against "arbitrary" input element #456

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
At present, it is necessary to specify the input element that a virtual 
keyboard will be used with 
using code similar to this:

        var kbd = new google.elements.keyboard.Keyboard(
          [google.elements.keyboard.LayoutCode.HEBREW],
          ['text']);

where 'text' is the id of the input element (e.g. - textarea) where the 
keyboard will popup. 

It would be very useful if it was possible to call up a virtual keyboard for 
any input field. For 
example, if I was in a blog comment textarea and wanted to enter Hebrew text, 
it would be nice if 
I could click on a bookmarklet to activate the Hebrew Virtual Keyboard for the 
input element that 
currently was "in focus" (e.g. the blog comment textarea).

Original issue reported on code.google.com by billc...@gmail.com on 9 May 2010 at 10:22

GoogleCodeExporter commented 8 years ago
Thanks for your suggestion, take out ['text'] now will work for all text field

Original comment by ft...@google.com on 25 Oct 2010 at 11:41