You can register regular DOM event handlers on the wrapper or hidden input. Key events will propagate through, so you'll be able to observe them.