Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Side by Side Diff: polymer_1.0.4/bower_components/iron-doc-viewer/demo/index.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.g ithub.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/CONTRI BUTORS.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/PATEN TS.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, initia l-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\nT his 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 w ill be resolved relative to the master\ndocument.\n\nIf you change this value af ter 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 tex t* are represented\nappropriately. [Links](#) have black underlines.\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 automatical ly.</p>\n </html>\n\n### Level 3 Heading\n\nLists can also be used as you'd e xpect:\n\n* Unordered Lists\n * With Nesting\n* Or without nesting\n\nYou can a lso 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 us e."
121 }
122
123 document.querySelector('iron-doc-viewer').descriptor = descriptor;
124 </script>
125 </body>
126 </html>
OLDNEW
« no previous file with comments | « polymer_1.0.4/bower_components/iron-doc-viewer/bower.json ('k') | polymer_1.0.4/bower_components/iron-doc-viewer/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698