4 Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
9 <meta http-equiv=
"Pragma" content=
"no-cache">
10 <meta http-equiv=
"Expires" content=
"-1">
11 <title>{{title}}
</title>
12 <script type=
"text/javascript" src=
"common.js"></script>
13 <script type=
"text/javascript" src=
"example.js"></script>
15 #listener { float: left; padding-right:
8px; }
20 <h2>Status:
<code id=
"statusField">NO-STATUS
</code></h2>
21 <div id=
"listener"></div>
22 <p>This example shows how to handle input events.
</p>
23 <p>Click or touch the box to the left to see the events being sent to the
24 NaCl module. When it has focus, the module will also accept keyboard
26 <h2 style=
"clear: left">Events:
</h2>
27 <pre id=
"log" style=
"font-weight: bold"></pre>