Advertisement
rasyid03

my-view3-beg-per7

Dec 9th, 2023
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. <!--
  2. @license
  3. Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
  4. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
  5. The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
  6. The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
  7. Code distributed by Google as part of the polymer project is also
  8. subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
  9. -->
  10.  
  11. <link rel="import" href="../bower_components/polymer/polymer-element.html">
  12. <link rel="import" href="shared-styles.html">
  13.  
  14. <dom-module id="my-view3">
  15. <template>
  16. <style include="shared-styles">
  17. :host {
  18. display: block;
  19.  
  20. padding: 10px;
  21. }
  22. </style>
  23.  
  24. <div class="card">
  25. <div class="circle">3</div>
  26. <h1>About</h1>
  27. <p>Pada pertemuan 7 ini kita belajar clien side routing</p>
  28. <p>Nama : Faris Rasyid</p>
  29. <p>Npm : 50421483 </p>
  30. <p>Kelas: 2IA22 </p>
  31. </div>
  32. </template>
  33.  
  34. <script>
  35. class MyView3 extends Polymer.Element {
  36. static get is() { return 'my-view3'; }
  37. }
  38.  
  39. window.customElements.define(MyView3.is, MyView3);
  40. </script>
  41. </dom-module>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement