KeyEvent.wrap constructor

Construct a KeyEvent with parent as the event we're emulating.

KeyEvent.wrap(
KeyboardEvent parent
)

Construct a KeyEvent with parent as the event we're emulating.