~didrocks/+junk/face-detection-15.04

« back to all changes in this revision

Viewing changes to facedetection/www/bower_components/iron-doc-viewer/demo/index.html

  • Committer: Didier Roche
  • Date: 2016-05-10 23:09:11 UTC
  • Revision ID: didier.roche@canonical.com-20160510230911-c7xr490zrj3yrzxd
New version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!--
 
2
@license
 
3
Copyright (c) 2015 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
<!doctype html>
 
11
<html>
 
12
  <head>
 
13
    <meta charset="utf-8">
 
14
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
 
15
    <title></title>
 
16
 
 
17
    <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
 
18
    <link rel="import" href="../../polymer/polymer.html">
 
19
    <link rel="import" href="../iron-doc-viewer.html">
 
20
 
 
21
    <style>
 
22
      body {
 
23
        margin: 16px;
 
24
      }
 
25
 
 
26
      iron-doc-viewer {
 
27
        margin: 0 auto;
 
28
        max-width: 48em;
 
29
      }
 
30
    </style>
 
31
  </head>
 
32
  <body>
 
33
 
 
34
    <!-- You can also bake documentation into the doc viewer: -->
 
35
    <iron-doc-viewer></iron-doc-viewer>
 
36
 
 
37
    <script>
 
38
      var descriptor = {
 
39
        "properties": [
 
40
          {
 
41
            "name": "marshal",
 
42
            "type": "Function",
 
43
            "desc": "Renders this element into static HTML for offline use.\n\nThis is mostly useful for debugging and one-off documentation generation.\nIf you want to integrate doc generation into your build process, you\nprobably want to be calling `hydrolysis.Analyzer.analyze()` directly.\n",
 
44
            "params": [],
 
45
            "function": true,
 
46
            "return": {
 
47
              "type": "string",
 
48
              "desc": "HTML for this element with all state baked in.\n     "
 
49
            }
 
50
          },
 
51
          {
 
52
            "name": "src",
 
53
            "type": "string",
 
54
            "desc": "The URL to an import that declares (or transitively imports) the\nelements that you wish to see documented.\n\nIf the URL is relative, it will be resolved relative to the master\ndocument.\n\nIf you change this value after the `&lt;iron-doc-viewer&gt;` has been\ninstantiated, you must call `load()`.\n      ",
 
55
            "published": true
 
56
          },
 
57
          {
 
58
            "name": "transitive",
 
59
            "type": "boolean",
 
60
            "desc": "Whether _all_ dependencies should be loaded and documented.\n\nTurning this on will probably slow down the load process dramatically.\n      ",
 
61
            "published": true
 
62
          },
 
63
          {
 
64
            "name": "_activeElement",
 
65
            "type": "!hydrolysis.ElementDescriptor",
 
66
            "desc": "The currently displayed element.\n",
 
67
            "published": true,
 
68
            "private": true
 
69
          },
 
70
          {
 
71
            "name": "_analyzer",
 
72
            "type": "!hydrolysis.Analyzer",
 
73
            "desc": "The hydrolysis analyzer.\n",
 
74
            "published": true,
 
75
            "private": true
 
76
          },
 
77
          {
 
78
            "name": "_analyzerChanged",
 
79
            "type": "Function",
 
80
            "params": [],
 
81
            "private": true,
 
82
            "function": true
 
83
          },
 
84
          {
 
85
            "name": "_loading",
 
86
            "type": "Object",
 
87
            "desc": "Whether the analyzer is loading source. ",
 
88
            "published": true,
 
89
            "private": true
 
90
          },
 
91
          {
 
92
            "name": "_loadingChanged",
 
93
            "type": "Function",
 
94
            "params": [],
 
95
            "private": true,
 
96
            "function": true
 
97
          },
 
98
          {
 
99
            "name": "_onTapNavItem",
 
100
            "type": "Function",
 
101
            "desc": "Activates the element that the user selected.\n",
 
102
            "params": [
 
103
              {
 
104
                "name": "event",
 
105
                "type": "!Event",
 
106
                "desc": null
 
107
              }
 
108
            ],
 
109
            "private": true,
 
110
            "function": true
 
111
          },
 
112
          {
 
113
            "name": "enableCustomStyleProperties",
 
114
            "type": "boolean",
 
115
            "private": true,
 
116
            "configuration": true
 
117
          }
 
118
        ],
 
119
        "is": "doc-demo",
 
120
        "desc": "This is an example of how `iron-doc-viewer` will render various types of\ninformation. You can use it as a style guide to see how various data will be\nrepresented. Markdown is used to format descriptive text throughout.\n\n# Level 1 Heading\n\nThis is a level one heading. **Bold text** and *italic text* are represented\nappropriately. [Links](#) are blue.\n\n## Level 2 Heading\n\nThis is a level two heading. `inline code` can be represented.\n\n    <html>\n      <p>This is a code block. Its syntax is highlighted automatically.</p>\n    </html>\n\n### Level 3 Heading\n\nLists can also be used as you'd expect:\n\n* Unordered Lists\n  * With Nesting\n* Or without nesting\n\nYou can also use ordered lists:\n\n1. First item\n2. Second item\n\n#### Level 4 Heading\n\nHeadings can be used all the way down to level 5.\n\n##### Level 5 Heading\n\nThis concludes our quick rundown of the various styles that you can commonly use."
 
121
      }
 
122
 
 
123
      document.querySelector('iron-doc-viewer').descriptor = descriptor;
 
124
    </script>
 
125
  </body>
 
126
</html>