electron/spec/fixtures/pages/onkeyup.html
2015-11-10 15:29:43 +08:00

9 lines
204 B
HTML

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