Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 537d3d6

Browse files
authored
chore: update examples to beta2 (#103)
* update examples to beta2 * minor autocomplete changes * remove stylers from cardhtml
1 parent e9bb153 commit 537d3d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1331
-696
lines changed

src/assets/documents/api/autocomplete.html

Lines changed: 136 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,148 @@ <h1 class="docs-api-h1">autocomplete</h1>
1313
<h2 class="docs-api-h2">
1414
Module: <code>MdAutocompleteModule</code>
1515
</h2><h2>Directives</h2>
16-
16+
1717
<h3 class="docs-api-h3 docs-api-class-name">MdAutocomplete</h3>
18-
<p class="docs-api-class-description"></p>
18+
<p class="docs-api-class-description"></p><span class="docs-api-h4 docs-api-class-export-label">Exported as:</span>
19+
<span class="docs-api-class-export-name">mdAutocomplete</span><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
20+
<table class="docs-api-properties-table">
21+
<tr class="docs-api-properties-header-row">
22+
<th class="docs-api-properties-th">Name</th>
23+
<th class="docs-api-properties-th">Description</th>
24+
</tr>
25+
26+
<tr class="docs-api-properties-row">
27+
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
28+
@Input()</div><p class="docs-api-property-name">
29+
displayWith
30+
</p>
31+
<code class="docs-api-property-type"></code>
32+
</td>
33+
<td class="docs-api-property-description">Function that maps an option&#39;s control value to its display value in the trigger.
34+
</td>
35+
</tr>
36+
37+
38+
39+
<tr class="docs-api-properties-row">
40+
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
41+
id
42+
</p>
43+
<code class="docs-api-property-type"></code>
44+
</td>
45+
<td class="docs-api-property-description">Unique ID to be used by autocomplete trigger&#39;s &quot;aria-owns&quot; property.
46+
</td>
47+
</tr>
48+
49+
50+
51+
</table>
52+
53+
54+
55+
56+
57+
58+
59+
<h3 class="docs-api-h3 docs-api-class-name">MdAutocompleteTrigger</h3>
60+
<p class="docs-api-class-description"></p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
61+
<table class="docs-api-properties-table">
62+
<tr class="docs-api-properties-header-row">
63+
<th class="docs-api-properties-th">Name</th>
64+
<th class="docs-api-properties-th">Description</th>
65+
</tr>
66+
67+
<tr class="docs-api-properties-row">
68+
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">@Input(<span class="docs-api-input-alias">&#39;mdAutocomplete&#39;</span>)
69+
</div><p class="docs-api-property-name">
70+
autocomplete
71+
</p>
72+
<code class="docs-api-property-type"></code>
73+
</td>
74+
<td class="docs-api-property-description"></td>
75+
</tr>
76+
77+
78+
79+
<tr class="docs-api-properties-row">
80+
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
81+
panelOpen
82+
</p>
83+
<code class="docs-api-property-type"></code>
84+
</td>
85+
<td class="docs-api-property-description">Whether or not the autocomplete panel is open.</td>
86+
</tr>
87+
88+
89+
90+
<tr class="docs-api-properties-row">
91+
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
92+
panelClosingActions
93+
</p>
94+
<code class="docs-api-property-type"></code>
95+
</td>
96+
<td class="docs-api-property-description">A stream of actions that should close the autocomplete panel, including
97+
when an option is selected, on blur, and when TAB is pressed.
98+
</td>
99+
</tr>
100+
101+
102+
103+
<tr class="docs-api-properties-row">
104+
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
105+
optionSelections
106+
</p>
107+
<code class="docs-api-property-type"></code>
108+
</td>
109+
<td class="docs-api-property-description">Stream of autocomplete option selections.
110+
</td>
111+
</tr>
112+
113+
114+
115+
<tr class="docs-api-properties-row">
116+
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
117+
activeOption
118+
</p>
119+
<code class="docs-api-property-type"></code>
120+
</td>
121+
<td class="docs-api-property-description">The currently active option, coerced to MdOption type.
122+
</td>
123+
</tr>
124+
125+
126+
127+
</table>
128+
129+
130+
<h4 class="docs-api-h4 docs-api-method-header">Methods</h4>
131+
132+
<table class="docs-api-method-table">
133+
<thead>
134+
<tr class="docs-api-method-name-row">
135+
<th colspan="2" class="docs-api-method-name-cell">openPanel</th>
136+
</tr>
137+
</thead>
138+
<tr class="docs-api-method-description-row">
139+
<td colspan="2" class="docs-api-method-description-cell">Opens the autocomplete suggestion panel.
140+
</td>
141+
</tr></table>
142+
19143

20144

145+
<table class="docs-api-method-table">
146+
<thead>
147+
<tr class="docs-api-method-name-row">
148+
<th colspan="2" class="docs-api-method-name-cell">closePanel</th>
149+
</tr>
150+
</thead>
151+
<tr class="docs-api-method-description-row">
152+
<td colspan="2" class="docs-api-method-description-cell">Closes the autocomplete suggestion panel.
153+
</td>
154+
</tr></table>
21155

22156

23157

24158

25159

26160

27-

src/assets/documents/api/button-toggle.html

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ <h2 class="docs-api-h2">
1616

1717
<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggleGroup</h3>
1818
<p class="docs-api-class-description">Exclusive selection button toggle group that behaves like a radio-button group.
19-
</p>
20-
21-
<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
19+
</p><span class="docs-api-h4 docs-api-class-export-label">Exported as:</span>
20+
<span class="docs-api-class-export-name">mdButtonToggleGroup</span><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
2221
<table class="docs-api-properties-table">
2322
<tr class="docs-api-properties-header-row">
2423
<th class="docs-api-properties-th">Name</th>
@@ -124,9 +123,8 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
124123

125124
<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggleGroupMultiple</h3>
126125
<p class="docs-api-class-description">Multiple selection button-toggle group. `ngModel` is not supported in this mode.
127-
</p>
128-
129-
<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
126+
</p><span class="docs-api-h4 docs-api-class-export-label">Exported as:</span>
127+
<span class="docs-api-class-export-name">mdButtonToggleGroup</span><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
130128
<table class="docs-api-properties-table">
131129
<tr class="docs-api-properties-header-row">
132130
<th class="docs-api-properties-th">Name</th>
@@ -169,9 +167,7 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
169167

170168
<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggle</h3>
171169
<p class="docs-api-class-description">Single button inside of a toggle group.
172-
</p>
173-
174-
<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
170+
</p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
175171
<table class="docs-api-properties-table">
176172
<tr class="docs-api-properties-header-row">
177173
<th class="docs-api-properties-th">Name</th>
@@ -327,9 +323,7 @@ <h2>Additional classes</h2>
327323

328324
<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggleChange</h3>
329325
<p class="docs-api-class-description">Change event object emitted by MdButtonToggle.
330-
</p>
331-
332-
<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
326+
</p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
333327
<table class="docs-api-properties-table">
334328
<tr class="docs-api-properties-header-row">
335329
<th class="docs-api-properties-th">Name</th>

src/assets/documents/api/button.html

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,16 @@ <h1 class="docs-api-h1">button</h1>
1313
<h2 class="docs-api-h2">
1414
Module: <code>MdButtonModule</code>
1515
</h2><h2>Directives</h2>
16-
16+
1717
<h3 class="docs-api-h3 docs-api-class-name">MdButton</h3>
1818
<p class="docs-api-class-description">Material design button.
19-
</p>
20-
21-
<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
19+
</p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
2220
<table class="docs-api-properties-table">
2321
<tr class="docs-api-properties-header-row">
2422
<th class="docs-api-properties-th">Name</th>
2523
<th class="docs-api-properties-th">Description</th>
2624
</tr>
27-
25+
2826
<tr class="docs-api-properties-row">
2927
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
3028
@Input()</div><p class="docs-api-property-name">
@@ -37,7 +35,7 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
3735
</tr>
3836

3937

40-
38+
4139
<tr class="docs-api-properties-row">
4240
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
4341
@Input()</div><p class="docs-api-property-name">
@@ -50,7 +48,7 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
5048
</tr>
5149

5250

53-
51+
5452
<tr class="docs-api-properties-row">
5553
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
5654
@Input()</div><p class="docs-api-property-name">
@@ -63,12 +61,12 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
6361
</tr>
6462

6563

66-
64+
6765
</table>
6866

6967

7068
<h4 class="docs-api-h4 docs-api-method-header">Methods</h4>
71-
69+
7270
<table class="docs-api-method-table">
7371
<thead>
7472
<tr class="docs-api-method-name-row">
@@ -81,11 +79,11 @@ <h4 class="docs-api-h4 docs-api-method-header">Methods</h4>
8179
</tr></table>
8280

8381

84-
8582

8683

8784

88-
85+
86+
8987
<h3 class="docs-api-h3 docs-api-class-name">MdAnchor</h3>
9088
<p class="docs-api-class-description">Raised Material design button.
9189
</p>
@@ -95,6 +93,3 @@ <h3 class="docs-api-h3 docs-api-class-name">MdAnchor</h3>
9593

9694

9795

98-
99-
100-

src/assets/documents/api/card.html

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1 class="docs-api-h1">card</h1>
1313
<h2 class="docs-api-h2">
1414
Module: <code>MdCardModule</code>
1515
</h2><h2>Directives</h2>
16-
16+
1717
<h3 class="docs-api-h3 docs-api-class-name">MdCardContent</h3>
1818
<p class="docs-api-class-description">Content of a card, needed as it&#39;s used as a selector in the API.
1919
</p>
@@ -24,8 +24,6 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardContent</h3>
2424

2525

2626

27-
28-
2927
<h3 class="docs-api-h3 docs-api-class-name">MdCardTitle</h3>
3028
<p class="docs-api-class-description">Title of a card, needed as it&#39;s used as a selector in the API.
3129
</p>
@@ -36,8 +34,6 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardTitle</h3>
3634

3735

3836

39-
40-
4137
<h3 class="docs-api-h3 docs-api-class-name">MdCardSubtitle</h3>
4238
<p class="docs-api-class-description">Sub-title of a card, needed as it&#39;s used as a selector in the API.
4339
</p>
@@ -48,8 +44,6 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardSubtitle</h3>
4844

4945

5046

51-
52-
5347
<h3 class="docs-api-h3 docs-api-class-name">MdCardActions</h3>
5448
<p class="docs-api-class-description">Action section of a card, needed as it&#39;s used as a selector in the API.
5549
</p>
@@ -60,20 +54,12 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardActions</h3>
6054

6155

6256

63-
64-
6557
<h3 class="docs-api-h3 docs-api-class-name">MdCardFooter</h3>
6658
<p class="docs-api-class-description">Footer of a card, needed as it&#39;s used as a selector in the API.
6759
</p>
6860

6961

7062

71-
72-
73-
74-
75-
76-
7763
<h3 class="docs-api-h3 docs-api-class-name">MdCard</h3>
7864
<p class="docs-api-class-description">A basic content container component that adds the styles of a Material design card.
7965

@@ -92,8 +78,6 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCard</h3>
9278

9379

9480

95-
96-
9781
<h3 class="docs-api-h3 docs-api-class-name">MdCardHeader</h3>
9882
<p class="docs-api-class-description">Component intended to be used within the `&lt;md-card&gt;` component. It adds styles for a
9983
preset header section (i.e. a title, subtitle, and avatar layout).
@@ -105,8 +89,6 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardHeader</h3>
10589

10690

10791

108-
109-
11092
<h3 class="docs-api-h3 docs-api-class-name">MdCardTitleGroup</h3>
11193
<p class="docs-api-class-description">Component intended to be used within the &lt;md-card&gt; component. It adds styles for a preset
11294
layout that groups an image with a title section.
@@ -117,6 +99,3 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardTitleGroup</h3>
11799

118100

119101

120-
121-
122-

0 commit comments

Comments
 (0)