Advertisement
Uhuuuyy

my-view3.html

Jan 19th, 2024
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 1.21 KB | Source Code | 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>Tentang</h1>
  27.       <p>Nama saya Ahmad Fulan Subagja Subanda</p>
  28.       <p>Kelas 2IA23</p>
  29.       <p>NPM saya 11112222</p>
  30.     </div>
  31.   </template>
  32.  
  33.   <script>
  34.     class MyView3 extends Polymer.Element {
  35.       static get is() { return 'my-view3'; }
  36.     }
  37.  
  38.     window.customElements.define(MyView3.is, MyView3);
  39.   </script>
  40. </dom-module>
Tags: beg6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement