www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Event.sendKeyEvent(keyDescription, optionalEventType, optionalDocument)

Mojo.Event.sendKeyEvent(keyDescription, optionalEventType, optionalDocument)

Function to create and send a key event.

Parameter Type Description
keyDescription String Key description for key.  Example: "U+000A" for Enter.  Full list of codes can be found here.
optionalEventType String Event type. Default is keydown.
optionalDocument Element Element to target the event on.  Default is current active document.
 

0 Comments

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)