|
5 | 5 | {% block body %}
|
6 | 6 | include {$ relativePath(doc.path, '_util-fns') $}
|
7 | 7 |
|
8 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
9 |
| - div(flex="20" flex-xs="100") |
10 |
| - h2(class="h2-api-docs") What it does |
11 |
| - div(flex="80" flex-xs="100") |
12 |
| - :marked |
13 |
| - {%- if doc.whatItDoes %} |
14 |
| -{$ doc.whatItDoes | indentForMarkdown(6) $} |
15 |
| - {% else %} |
16 |
| - *Not yet documented* |
17 |
| - {% endif %} |
| 8 | +{% include "layout/_what-it-does.html" %} |
18 | 9 |
|
19 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
20 |
| - div(flex="20" flex-xs="100") |
21 |
| - h2(class="h2-api-docs") How to use |
22 |
| - div(flex="80" flex-xs="100") |
23 |
| - :marked |
24 |
| - {%- if doc.howToUse %} |
25 |
| -{$ doc.howToUse | indentForMarkdown(6) $} |
26 |
| - {% else %} |
27 |
| - *Not yet documented* |
28 |
| - {% endif %} |
| 10 | +{% include "layout/_security-notes.html" %} |
| 11 | + |
| 12 | +{% include "layout/_deprecated-notes.html" %} |
| 13 | + |
| 14 | +{% include "layout/_how-to-use.html" %} |
29 | 15 |
|
30 |
| -.div(layout="row" layout-xs="column" class="ng-cloak") |
| 16 | +div(layout="row" layout-xs="column" class="ng-cloak") |
31 | 17 | div(flex="20" flex-xs="100")
|
32 | 18 | h2(class="h2-api-docs") Class Overview
|
33 | 19 | div(flex="80" flex-xs="100")
|
34 | 20 | code(class="no-bg api-doc-code openParens") class {$ doc.name $} {
|
35 | 21 |
|
36 | 22 | {% if doc.statics.length %}
|
37 |
| - .div(layout="column") |
| 23 | + div(layout="column") |
38 | 24 | {% for member in doc.statics %}{% if not member.internal %}
|
39 | 25 | pre(class="prettyprint no-bg-with-indent")
|
40 | 26 | a(class="code-anchor" href="#{$ member.name $}-anchor")
|
|
43 | 29 | {% endif %}{% endfor %}
|
44 | 30 | {% endif %}
|
45 | 31 | {% if doc.constructorDoc.name %}
|
46 |
| - .div(layout="column") |
| 32 | + div(layout="column") |
47 | 33 | pre(class="prettyprint no-bg-with-indent")
|
48 | 34 | a(class="code-anchor" href="#constructor")
|
49 | 35 | code(class="code-background api-doc-code") {$ doc.constructorDoc.name $}
|
50 | 36 | code(class="api-doc-code") {$ paramList(doc.constructorDoc.parameters) | indent(8, false) | trim $}
|
51 | 37 | {% endif %}
|
52 | 38 | {% if doc.members.length %}
|
53 |
| - .div(layout="column") |
| 39 | + div(layout="column") |
54 | 40 | {% for member in doc.members %}{% if not member.internal %}
|
55 | 41 | pre(class="prettyprint no-bg-with-indent")
|
56 | 42 | a(class="code-anchor" href="#{$ member.name $}-anchor")
|
|
64 | 50 | {% block additional %}
|
65 | 51 | {% endblock %}
|
66 | 52 |
|
67 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
| 53 | +div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
68 | 54 | div(flex="20" flex-xs="100")
|
69 | 55 | h2(class="h2-api-docs") Class Description
|
70 | 56 | div(class="code-links" flex="80" flex-xs="100")
|
|
73 | 59 | {$ doc.description | indentForMarkdown(6) | trimBlankLines $}
|
74 | 60 | {% endif %}
|
75 | 61 |
|
76 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
| 62 | +div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
77 | 63 | div(flex="20" flex-xs="100")
|
78 | 64 | h2(class="h2-api-docs") Class Export
|
79 | 65 | div(flex="80" flex-xs="100")
|
|
83 | 69 |
|
84 | 70 | {%- if doc.decorators.length %}
|
85 | 71 | {% block annotations %}
|
86 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
| 72 | +div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
87 | 73 | div(flex="20" flex-xs="100")
|
88 | 74 | h2(class="h2-api-docs") Annotations
|
89 | 75 | div(flex="80" flex-xs="100")
|
|
100 | 86 | {% endif %}
|
101 | 87 |
|
102 | 88 | {%- if doc.constructorDoc and not doc.constructorDoc.internal %}
|
103 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
| 89 | +div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
104 | 90 | div(flex="20" flex-xs="100")
|
105 | 91 | h2(class="h2-api-docs") Constructor
|
106 | 92 | div(flex="80" flex-xs="100")
|
|
115 | 101 | {% endif %}
|
116 | 102 |
|
117 | 103 | {% if doc.statics.length %}
|
118 |
| -.div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
| 104 | +div(layout="row" layout-xs="column" class="row-margin ng-cloak") |
119 | 105 | div(flex="20" flex-xs="100")
|
120 | 106 | h2(class="h2-api-docs") Static Members
|
121 | 107 | div(class="code-links" flex="80" flex-xs="100")
|
|
137 | 123 | {% endif %}
|
138 | 124 |
|
139 | 125 | {% if doc.members.length %}
|
140 |
| -.div(layout="row" layout-xs="column" class="instance-members" class="row-margin ng-cloak") |
| 126 | +div(layout="row" layout-xs="column" class="instance-members" class="row-margin ng-cloak") |
141 | 127 | div(flex="20" flex-xs="100")
|
142 | 128 | h2(class="h2-api-docs") Class Details
|
143 | 129 | div(class="code-links" flex="80" flex-xs="100")
|
|
0 commit comments