Skip to content

Commit

Permalink
Merge pull request #69 from explooosion/dev
Browse files Browse the repository at this point in the history
Dev - 0.7.7
  • Loading branch information
explooosion authored May 27, 2019
2 parents 445d1bb + 7c9c0f8 commit 13454c6
Show file tree
Hide file tree
Showing 23 changed files with 692 additions and 439 deletions.
9 changes: 4 additions & 5 deletions docs/classes/AppPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
</div>

<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search">
</div>
<compodoc-menu></compodoc-menu>
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>

<div class="container-fluid main">
Expand Down Expand Up @@ -238,7 +235,9 @@ <h1 class="search-results-title">No results matching "<span class='search-query'

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>
<script src="../js/menu-wc.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="../js/menu-wc.js" defer></script>

<script src="../js/libs/bootstrap-native.js"></script>

Expand Down
208 changes: 109 additions & 99 deletions docs/components/AppComponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
</div>

<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search">
</div>
<compodoc-menu></compodoc-menu>
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>

<div class="container-fluid main">
Expand Down Expand Up @@ -51,6 +48,9 @@
<li >
<a href="#templateData" role="tab" id="templateData-tab" data-toggle="tab" data-link="template">Template</a>
</li>
<li >
<a href="#styleData" role="tab" id="styleData-tab" data-toggle="tab" data-link="style">Styles</a>
</li>
<li >
<a href="#tree" role="tab" id="tree-tab" data-toggle="tab" data-link="dom-tree">DOM Tree</a>
</li>
Expand Down Expand Up @@ -90,7 +90,7 @@ <h3>Metadata</h3>

<tr>
<td class="col-md-3">styleUrls</td>
<td class="col-md-9"><code>app.component.scss</code></td>
<td class="col-md-9"><code>./app.component.scss</code></td>
</tr>


Expand All @@ -101,6 +101,12 @@ <h3>Metadata</h3>
</tr>








</tbody>
</table>
</section>
Expand Down Expand Up @@ -129,6 +135,10 @@ <h6><b>Properties</b></h6>
<span class="modifier">Public</span>
<a href="#lng">lng</a>
</li>
<li>
<span class="modifier">Public</span>
<a href="#markerOptions">markerOptions</a>
</li>
<li>
<span class="modifier">Public</span>
<a href="#origin">origin</a>
Expand All @@ -141,20 +151,6 @@ <h6><b>Properties</b></h6>
</td>
</tr>

<tr>
<td class="col-md-4">
<h6><b>Methods</b></h6>
</td>
</tr>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#getStatus">getStatus</a>
</li>
</ul>
</td>
</tr>



Expand All @@ -169,77 +165,6 @@ <h6><b>Methods</b></h6>



<section>

<h3 id="methods">
Methods
</h3>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="getStatus"></a>
<span class="name">
<b>
getStatus
</b>
<a href="#getStatus"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<code>getStatus(status: )</code>
</td>
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="18" class="link-to-prism">playground/src/app/app.component.ts:18</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Optional</td>
</tr>
</thead>
<tbody>
<tr>
<td>status</td>

<td>
No
</td>


</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

</div>
<div class="io-description">

</div>
</td>
</tr>
</tbody>
</table>
</section>

<section>

Expand Down Expand Up @@ -364,6 +289,59 @@ <h3 id="inputs">
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="markerOptions"></a>
<span class="name">
<b>
<span class="modifier">Public</span>
markerOptions
</b>
<a href="#markerOptions"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span><code>markerOptions: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>

</td>
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{
origin: {
icon: &#x27;https://i.imgur.com/7teZKif.png&#x27;,
draggable: true,
},
destination: {
icon: &#x27;https://i.imgur.com/7teZKif.png&#x27;,
draggable: true,
infoWindow: &#x60;
&lt;h4&gt;Hello&lt;h4&gt;
&lt;a href&#x3D;&#x27;http://www-e.ntust.edu.tw/home.php&#x27; target&#x3D;&#x27;_blank&#x27;&gt;Taiwan Tech&lt;/a&gt;
&#x60;
},
}</code>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="20" class="link-to-prism">playground/src/app/app.component.ts:20</a></div>
</td>
</tr>


</tbody>
</table>
<table class="table table-sm table-bordered">
Expand Down Expand Up @@ -434,7 +412,9 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>{ polylineOptions: { strokeColor: &#x27;#f0f&#x27; } }</code>
<i>Default value : </i><code>{
suppressMarkers: true,
}</code>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -467,23 +447,51 @@ <h3 id="inputs">
public origin: any &#x3D; &#x27;No. 1, Section 1, Taiwan Avenue, Central District, Taichung, Taiwan&#x27;;
public destination: any &#x3D; &#x27;No. 1 Guanqian Road, North District, Taichung City&#x27;;

public renderOptions: object &#x3D; { polylineOptions: { strokeColor: &#x27;#f0f&#x27; } };

getStatus(status) {
console.log(&#x27;status&#x27;, status);
}
public renderOptions &#x3D; {
suppressMarkers: true,
};

public markerOptions &#x3D; {
origin: {
icon: &#x27;https://i.imgur.com/7teZKif.png&#x27;,
draggable: true,
},
destination: {
icon: &#x27;https://i.imgur.com/7teZKif.png&#x27;,
draggable: true,
infoWindow: &#x60;
&lt;h4&gt;Hello&lt;h4&gt;
&lt;a href&#x3D;&#x27;http://www-e.ntust.edu.tw/home.php&#x27; target&#x3D;&#x27;_blank&#x27;&gt;Taiwan Tech&lt;/a&gt;
&#x60;
},
};
}
</code></pre>
</div>

<div class="tab-pane fade " id="c-templateData">
<pre class="line-numbers"><code class="language-html">&lt;agm-map [latitude]&#x3D;&quot;lat&quot; [longitude]&#x3D;&quot;lng&quot;&gt;
&lt;agm-direction [origin]&#x3D;&quot;origin&quot; [destination]&#x3D;&quot;destination&quot; [renderOptions]&#x3D;&quot;renderOptions&quot; (status)&#x3D;&quot;getStatus($event)&quot;&gt;
&lt;agm-direction
[origin]&#x3D;&quot;origin&quot;
[destination]&#x3D;&quot;destination&quot;
[renderOptions]&#x3D;&quot;renderOptions&quot;
[markerOptions]&#x3D;&quot;markerOptions&quot;
&gt;
&lt;/agm-direction&gt;
&lt;/agm-map&gt;
</code></pre>
</div>

<div class="tab-pane fade " id="c-styleData">
<p class="comment">
<code>./app.component.scss</code>
</p>
<pre class="line-numbers"><code class="language-scss">agm-map {
height: 80vh;
}
</code></pre>
</div>

<div class="tab-pane fade " id="c-tree">
<div id="tree-container"></div>
<div class="tree-legend">
Expand All @@ -509,7 +517,7 @@ <h3 id="inputs">
<script src="../js/libs/htmlparser.js"></script>
<script src="../js/libs/deep-iterator.js"></script>
<script>
var COMPONENT_TEMPLATE = '<div><agm-map [latitude]="lat" [longitude]="lng"> <agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" (status)="getStatus($event)"> </agm-direction></agm-map></div>'
var COMPONENT_TEMPLATE = '<div><agm-map [latitude]="lat" [longitude]="lng"> <agm-direction [origin]="origin" [destination]="destination" [renderOptions]="renderOptions" [markerOptions]="markerOptions" > </agm-direction></agm-map></div>'
var COMPONENTS = [{'name': 'AppComponent', 'selector': 'app-root'}];
var DIRECTIVES = [{'name': 'AgmDirection', 'selector': 'agm-direction'}];
var ACTUAL_COMPONENT = {'name': 'AppComponent'};
Expand Down Expand Up @@ -551,7 +559,9 @@ <h1 class="search-results-title">No results matching "<span class='search-query'

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>
<script src="../js/menu-wc.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="../js/menu-wc.js" defer></script>

<script src="../js/libs/bootstrap-native.js"></script>

Expand Down
15 changes: 7 additions & 8 deletions docs/coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
</div>

<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search">
</div>
<compodoc-menu></compodoc-menu>
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>

<div class="container-fluid main">
Expand Down Expand Up @@ -173,9 +170,9 @@
<td>
AgmDirection
</td>
<td align="right" data-sort="6">
<span class="coverage-percent">6 %</span>
<span class="coverage-count">(2/32)</span>
<td align="right" data-sort="13">
<span class="coverage-percent">13 %</span>
<span class="coverage-count">(5/38)</span>
</td>
</tr>
<tr class="low">
Expand Down Expand Up @@ -225,7 +222,9 @@ <h1 class="search-results-title">No results matching "<span class='search-query'

<script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script>
<script src="./js/menu-wc.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="./js/menu-wc.js" defer></script>

<script src="./js/libs/bootstrap-native.js"></script>

Expand Down
9 changes: 4 additions & 5 deletions docs/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
</div>

<div class="xs-menu menu" id="mobile-menu">
<div id="book-search-input" role="search">
<input type="text" placeholder="Type to search">
</div>
<compodoc-menu></compodoc-menu>
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
</div>

<div class="container-fluid main">
Expand Down Expand Up @@ -81,7 +78,9 @@ <h1 class="search-results-title">No results matching "<span class='search-query'

<script src="./js/libs/custom-elements.min.js"></script>
<script src="./js/libs/lit-html.js"></script>
<script src="./js/menu-wc.js"></script>
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
<script src="./js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
<script src="./js/menu-wc.js" defer></script>

<script src="./js/libs/bootstrap-native.js"></script>

Expand Down
Loading

0 comments on commit 13454c6

Please sign in to comment.