events_test.html 901 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!--
  2. Copyright 2008 The Closure Library Authors. All Rights Reserved.
  3. Use of this source code is governed by the Apache License, Version 2.0.
  4. See the COPYING file for details.
  5. -->
  6. <!DOCTYPE html>
  7. <html lang="en" dir="ltr">
  8. <head>
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  10. <!--
  11. Author: nicksantos@google.com (Nick Santos)
  12. -->
  13. <meta charset="UTF-8" />
  14. <title>
  15. Closure Unit Tests - goog.testing.events
  16. </title>
  17. <script src="../../base.js">
  18. </script>
  19. <script>
  20. goog.require('goog.testing.eventsTest');
  21. </script>
  22. </head>
  23. <body>
  24. <div id="root">
  25. </div>
  26. <input id="testButton" type="input" value="Click Me" />
  27. <div id="input">
  28. Prevent Default these events:
  29. <br />
  30. </div>
  31. <div id="log" style="position:absolute;right:0;top:0">
  32. Logged events:
  33. </div>
  34. <div id="parentEl">
  35. <div id="childEl">
  36. hello!
  37. </div>
  38. </div>
  39. </body>
  40. </html>