electron/spec/fixtures/pages/onkeyup.html
2016-10-10 09:35:44 -07:00

9 lines
227 B
HTML

<html>
<body>
<script type="text/javascript" charset="utf-8">
document.onkeyup = function(e) {
require('electron').ipcRenderer.sendToHost('keyup', e.key, e.code, e.keyCode, e.shiftKey, e.ctrlKey);
}
</script>
</body>
</html>