compose_area.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html ng-strict-di>
  3. <head>
  4. <meta charset="utf-8">
  5. <!-- Third party stylesheets -->
  6. <link rel="stylesheet" href="../../node_modules/angular/angular-csp.css?v=[[VERSION]]">
  7. <link rel="stylesheet" href="../../node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
  8. <link rel="stylesheet" href="../../public/fonts/roboto.css?v=[[VERSION]]" type="text/css">
  9. <link rel="stylesheet" href="../../public/fonts/material.css?v=[[VERSION]]" type="text/css">
  10. <!-- Emoji -->
  11. <link rel="stylesheet" href="../../public/emoji/activity.css?v=[[VERSION]]" type="text/css" media="all" />
  12. <link rel="stylesheet" href="../../public/emoji/flags.css?v=[[VERSION]]" type="text/css" media="all" />
  13. <link rel="stylesheet" href="../../public/emoji/food.css?v=[[VERSION]]" type="text/css" media="all" />
  14. <link rel="stylesheet" href="../../public/emoji/nature.css?v=[[VERSION]]" type="text/css" media="all" />
  15. <link rel="stylesheet" href="../../public/emoji/objects.css?v=[[VERSION]]" type="text/css" media="all" />
  16. <link rel="stylesheet" href="../../public/emoji/people.css?v=[[VERSION]]" type="text/css" media="all" />
  17. <link rel="stylesheet" href="../../public/emoji/symbols.css?v=[[VERSION]]" type="text/css" media="all" />
  18. <link rel="stylesheet" href="../../public/emoji/travel.css?v=[[VERSION]]" type="text/css" media="all" />
  19. <!-- Own stylesheets -->
  20. <link rel="stylesheet" href="../../public/css/app.css?v=[[VERSION]]">
  21. <!-- Scripts -->
  22. <script src="../../dist/generated/uitest.bundle.js"></script>
  23. <script>
  24. function init() {
  25. if (window.uiTests === undefined) {
  26. window.setTimeout(init, 100);
  27. } else {
  28. window.uiTests.initComposeArea();
  29. }
  30. }
  31. init();
  32. </script>
  33. </head>
  34. <body>
  35. <div ng-controller="ComposeAreaController as ctrl">
  36. <compose-area
  37. on-init="ctrl.onInit"
  38. submit="ctrl.submit"
  39. initial-data="ctrl.initialData"
  40. start-typing="ctrl.startTyping"
  41. on-typing="ctrl.onTyping"
  42. stop-typing="ctrl.stopTyping"
  43. on-key-down="ctrl.onComposeKeyDown"
  44. on-uploading="ctrl.onUploading"
  45. max-text-length="ctrl.maxTextLength">
  46. </compose-area>
  47. <div>
  48. </body>
  49. </html>