compose_area.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html ng-strict-di>
  3. <head>
  4. <meta charset="utf-8">
  5. <!-- Third party -->
  6. <script src="../../public/libs/emojione/emojione.min.js?v=[[VERSION]]"></script>
  7. <!-- Third party stylesheets -->
  8. <link rel="stylesheet" href="../../node_modules/angular/angular-csp.css?v=[[VERSION]]">
  9. <link rel="stylesheet" href="../../node_modules/angular-material/angular-material.min.css?v=[[VERSION]]">
  10. <link rel="stylesheet" href="../../public/libs/emojione/emojione-sprite-32.min.css?v=[[VERSION]]">
  11. <link rel="stylesheet" href="../../public/fonts/roboto.css?v=[[VERSION]]" type="text/css">
  12. <link rel="stylesheet" href="../../public/fonts/material.css?v=[[VERSION]]" type="text/css">
  13. <!-- Own stylesheets -->
  14. <link rel="stylesheet" href="../../public/css/app.css?v=[[VERSION]]">
  15. <!-- Scripts -->
  16. <script src="../../dist/ui-tests.js"></script>
  17. <script>window.uiTests.initComposeArea();</script>
  18. </head>
  19. <body ng-app="uitest">
  20. <div ng-controller="ComposeAreaController as ctrl">
  21. <compose-area
  22. submit="ctrl.submit"
  23. initial-data="ctrl.initialData"
  24. start-typing="ctrl.startTyping"
  25. on-typing="ctrl.onTyping"
  26. stop-typing="ctrl.stopTyping"
  27. on-key-down="ctrl.onComposeKeyDown"
  28. on-uploading="ctrl.onUploading"
  29. max-text-length="ctrl.maxTextLength"
  30. emoji-image-path="../../public/img/e1/">
  31. </compose-area>
  32. <div>
  33. </body>
  34. </html>