Blame view

bower_components/polymer-element-catalog/app/elements/guide-card/guide-card.html 639 Bytes
07d13c9c   isisadmin   polymer catalog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  <link rel="import" href="../../bower_components/paper-material/paper-material.html">
  
  <link rel="import" href="../catalog-guide/catalog-guide.html">
  
  <dom-module id="guide-card">
    <link rel="import" type="css" href="guide-card.css">
    <template>
      <catalog-guide name="[[guide]]" data="{{_guide}}"></catalog-guide>
  
      <div id="content" class="vertical layout">
        <h3>[[_guide.title]]</h3>
        <p>[[_guide.summary]]</p>
      </div>
    </template>
  </dom-module>
  
  <script>
  Polymer({
    is: 'guide-card',
    enableCustomStyleProperties: true,
    properties: {
      guide: {type: String, notify: true},
      _guide: Object
    }
  });
  </script>