Skip to content

Commit

Permalink
chore: update examples to beta2 (#103)
Browse files Browse the repository at this point in the history
* update examples to beta2

* minor autocomplete changes

* remove stylers from cardhtml
  • Loading branch information
andrewseguin committed Feb 16, 2017
1 parent e9bb153 commit 537d3d6
Show file tree
Hide file tree
Showing 54 changed files with 1,331 additions and 696 deletions.
139 changes: 136 additions & 3 deletions src/assets/documents/api/autocomplete.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,148 @@ <h1 class="docs-api-h1">autocomplete</h1>
<h2 class="docs-api-h2">
Module: <code>MdAutocompleteModule</code>
</h2><h2>Directives</h2>

<h3 class="docs-api-h3 docs-api-class-name">MdAutocomplete</h3>
<p class="docs-api-class-description"></p>
<p class="docs-api-class-description"></p><span class="docs-api-h4 docs-api-class-export-label">Exported as:</span>
<span class="docs-api-class-export-name">mdAutocomplete</span><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
<th class="docs-api-properties-th">Description</th>
</tr>

<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
@Input()</div><p class="docs-api-property-name">
displayWith
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description">Function that maps an option&#39;s control value to its display value in the trigger.
</td>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
id
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description">Unique ID to be used by autocomplete trigger&#39;s &quot;aria-owns&quot; property.
</td>
</tr>



</table>







<h3 class="docs-api-h3 docs-api-class-name">MdAutocompleteTrigger</h3>
<p class="docs-api-class-description"></p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
<th class="docs-api-properties-th">Description</th>
</tr>

<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">@Input(<span class="docs-api-input-alias">&#39;mdAutocomplete&#39;</span>)
</div><p class="docs-api-property-name">
autocomplete
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description"></td>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
panelOpen
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description">Whether or not the autocomplete panel is open.</td>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
panelClosingActions
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description">A stream of actions that should close the autocomplete panel, including
when an option is selected, on blur, and when TAB is pressed.
</td>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
optionSelections
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description">Stream of autocomplete option selections.
</td>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><p class="docs-api-property-name">
activeOption
</p>
<code class="docs-api-property-type"></code>
</td>
<td class="docs-api-property-description">The currently active option, coerced to MdOption type.
</td>
</tr>



</table>


<h4 class="docs-api-h4 docs-api-method-header">Methods</h4>

<table class="docs-api-method-table">
<thead>
<tr class="docs-api-method-name-row">
<th colspan="2" class="docs-api-method-name-cell">openPanel</th>
</tr>
</thead>
<tr class="docs-api-method-description-row">
<td colspan="2" class="docs-api-method-description-cell">Opens the autocomplete suggestion panel.
</td>
</tr></table>



<table class="docs-api-method-table">
<thead>
<tr class="docs-api-method-name-row">
<th colspan="2" class="docs-api-method-name-cell">closePanel</th>
</tr>
</thead>
<tr class="docs-api-method-description-row">
<td colspan="2" class="docs-api-method-description-cell">Closes the autocomplete suggestion panel.
</td>
</tr></table>







18 changes: 6 additions & 12 deletions src/assets/documents/api/button-toggle.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ <h2 class="docs-api-h2">

<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggleGroup</h3>
<p class="docs-api-class-description">Exclusive selection button toggle group that behaves like a radio-button group.
</p>

<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</p><span class="docs-api-h4 docs-api-class-export-label">Exported as:</span>
<span class="docs-api-class-export-name">mdButtonToggleGroup</span><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
Expand Down Expand Up @@ -124,9 +123,8 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>

<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggleGroupMultiple</h3>
<p class="docs-api-class-description">Multiple selection button-toggle group. `ngModel` is not supported in this mode.
</p>

<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</p><span class="docs-api-h4 docs-api-class-export-label">Exported as:</span>
<span class="docs-api-class-export-name">mdButtonToggleGroup</span><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
Expand Down Expand Up @@ -169,9 +167,7 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>

<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggle</h3>
<p class="docs-api-class-description">Single button inside of a toggle group.
</p>

<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
Expand Down Expand Up @@ -327,9 +323,7 @@ <h2>Additional classes</h2>

<h3 class="docs-api-h3 docs-api-class-name">MdButtonToggleChange</h3>
<p class="docs-api-class-description">Change event object emitted by MdButtonToggle.
</p>

<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
Expand Down
23 changes: 9 additions & 14 deletions src/assets/documents/api/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ <h1 class="docs-api-h1">button</h1>
<h2 class="docs-api-h2">
Module: <code>MdButtonModule</code>
</h2><h2>Directives</h2>

<h3 class="docs-api-h3 docs-api-class-name">MdButton</h3>
<p class="docs-api-class-description">Material design button.
</p>

<h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</p><h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
<table class="docs-api-properties-table">
<tr class="docs-api-properties-header-row">
<th class="docs-api-properties-th">Name</th>
<th class="docs-api-properties-th">Description</th>
</tr>

<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
@Input()</div><p class="docs-api-property-name">
Expand All @@ -37,7 +35,7 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
@Input()</div><p class="docs-api-property-name">
Expand All @@ -50,7 +48,7 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</tr>



<tr class="docs-api-properties-row">
<td class="docs-api-properties-name-cell"><div class="docs-api-input-marker">
@Input()</div><p class="docs-api-property-name">
Expand All @@ -63,12 +61,12 @@ <h4 class="docs-api-h4 docs-api-method-header">Properties</h4>
</tr>



</table>


<h4 class="docs-api-h4 docs-api-method-header">Methods</h4>

<table class="docs-api-method-table">
<thead>
<tr class="docs-api-method-name-row">
Expand All @@ -81,11 +79,11 @@ <h4 class="docs-api-h4 docs-api-method-header">Methods</h4>
</tr></table>









<h3 class="docs-api-h3 docs-api-class-name">MdAnchor</h3>
<p class="docs-api-class-description">Raised Material design button.
</p>
Expand All @@ -95,6 +93,3 @@ <h3 class="docs-api-h3 docs-api-class-name">MdAnchor</h3>






23 changes: 1 addition & 22 deletions src/assets/documents/api/card.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="docs-api-h1">card</h1>
<h2 class="docs-api-h2">
Module: <code>MdCardModule</code>
</h2><h2>Directives</h2>

<h3 class="docs-api-h3 docs-api-class-name">MdCardContent</h3>
<p class="docs-api-class-description">Content of a card, needed as it&#39;s used as a selector in the API.
</p>
Expand All @@ -24,8 +24,6 @@ <h3 class="docs-api-h3 docs-api-class-name">MdCardContent</h3>





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





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





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





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









<h3 class="docs-api-h3 docs-api-class-name">MdCard</h3>
<p class="docs-api-class-description">A basic content container component that adds the styles of a Material design card.

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





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





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






Loading

0 comments on commit 537d3d6

Please sign in to comment.