electron/spec/fixtures/pages/onkeyup.html
2015-09-18 18:28:34 +08:00

9 lines
195 B
HTML

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