electron/spec/fixtures/pages/onkeyup.html

10 lines
227 B
HTML
Raw Normal View History

2015-09-18 10:28:34 +00:00
<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);
2015-09-18 10:28:34 +00:00
}
</script>
</body>
</html>