Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
explooosion committed Jun 17, 2018
1 parent 99478aa commit 7d7ae2a
Show file tree
Hide file tree
Showing 12 changed files with 375 additions and 127 deletions.
278 changes: 245 additions & 33 deletions docs/components/AppComponent.html

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions docs/coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@
<a href="modules/AgmDirectionModule.html" data-type="entity-link">AgmDirectionModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
data-target="#xs-directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<span class="fa fa-fw fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="xs-directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
id="xs-directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<li class="link">
<a href="directives/AgmDirection.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AgmDirection</a>
Expand All @@ -99,14 +99,14 @@
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
data-target="#xs-components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<span class="fa fa-fw fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="xs-components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
id="xs-components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<li class="link">
<a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
Expand Down Expand Up @@ -217,14 +217,14 @@
<a href="modules/AgmDirectionModule.html" data-type="entity-link">AgmDirectionModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
data-target="#directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<span class="fa fa-fw fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
id="directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<li class="link">
<a href="directives/AgmDirection.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AgmDirection</a>
Expand All @@ -236,14 +236,14 @@
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
data-target="#components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<span class="fa fa-fw fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
id="components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<li class="link">
<a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
Expand Down Expand Up @@ -334,7 +334,7 @@
</td>
<td align="right" data-sort="0">
<span class="coverage-percent">0 %</span>
<span class="coverage-count">(0/9)</span>
<span class="coverage-count">(0/13)</span>
</td>
</tr>
<tr class="low">
Expand All @@ -350,7 +350,7 @@
</td>
<td align="right" data-sort="14">
<span class="coverage-percent">14 %</span>
<span class="coverage-count">(4/27)</span>
<span class="coverage-count">(4/28)</span>
</td>
</tr>
<tr class="low">
Expand Down
16 changes: 8 additions & 8 deletions docs/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@
<a href="modules/AgmDirectionModule.html" data-type="entity-link">AgmDirectionModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
data-target="#xs-directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<span class="fa fa-fw fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="xs-directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
id="xs-directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<li class="link">
<a href="directives/AgmDirection.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AgmDirection</a>
Expand All @@ -99,14 +99,14 @@
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
data-target="#xs-components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<span class="fa fa-fw fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="xs-components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
id="xs-components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<li class="link">
<a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
Expand Down Expand Up @@ -217,14 +217,14 @@
<a href="modules/AgmDirectionModule.html" data-type="entity-link">AgmDirectionModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
data-target="#directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<span class="fa fa-fw fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
id="directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<li class="link">
<a href="directives/AgmDirection.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AgmDirection</a>
Expand All @@ -236,14 +236,14 @@
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
data-target="#components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<span class="fa fa-fw fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
id="components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<li class="link">
<a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
Expand Down
49 changes: 36 additions & 13 deletions docs/directives/AgmDirection.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@
<a href="modules/AgmDirectionModule.html" data-type="entity-link">AgmDirectionModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
data-target="#xs-directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<span class="fa fa-fw fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="xs-directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
id="xs-directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<li class="link">
<a href="directives/AgmDirection.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AgmDirection</a>
Expand All @@ -99,14 +99,14 @@
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#xs-components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
data-target="#xs-components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<span class="fa fa-fw fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="xs-components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
id="xs-components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<li class="link">
<a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
Expand Down Expand Up @@ -217,14 +217,14 @@
<a href="modules/AgmDirectionModule.html" data-type="entity-link">AgmDirectionModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
data-target="#directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<span class="fa fa-fw fa-code"></span>
<span>Directives</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="directives-links-module-AgmDirectionModule-34eb2add-8c81-4644-a13d-ccfc4c62a241"
id="directives-links-module-AgmDirectionModule-feaf66ea-95d7-4be6-8043-6ee178006598"
>
<li class="link">
<a href="directives/AgmDirection.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AgmDirection</a>
Expand All @@ -236,14 +236,14 @@
<a href="modules/AppModule.html" data-type="entity-link">AppModule</a>
<li class="chapter inner">
<div class="simple menu-toggler" data-toggle="collapse"
data-target="#components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
data-target="#components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<span class="fa fa-fw fa-cogs"></span>
<span>Components</span>
<span class="fa fa-angle-down"></span>
</div>
<ul class="links collapse"
id="components-links-module-AppModule-1b863391-89a3-4639-b57d-d724f1f413a3"
id="components-links-module-AppModule-5a54e3e3-06cf-41e8-aa18-6fc401363731"
>
<li class="link">
<a href="components/AppComponent.html" data-type="entity-link" data-context="sub-entity" data-context-id="modules">AppComponent</a>
Expand Down Expand Up @@ -476,6 +476,9 @@ <h6><b>Outputs</b></h6>
<li>
<a href="#onChange">onChange</a>
</li>
<li>
<a href="#sendInfoWindow">sendInfoWindow</a>
</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -908,6 +911,25 @@ <h3 id="outputs">Outputs</h3>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-2">
<a name="sendInfoWindow"></a>
<code>sendInfoWindow</code>
</td>
<td class="col-md-10">
<em><code>$event</code> type:</em> <code>EventEmitter&lt;InfoWindow&gt;</code>

</td>
</tr>
<tr>
<td class="col-md-2" colspan="2">
<div class="io-line">Defined in <a href="" data-line="36" class="link-to-prism">src/agm-direction.directive.ts:36</a></div>
</td>
</tr>
</tbody>
</table>
</section>


Expand Down Expand Up @@ -1437,7 +1459,7 @@ <h3 id="inputs">
@Input() infoWindow: InfoWindow &#x3D; undefined;

@Output() onChange: EventEmitter&lt;any&gt; &#x3D; new EventEmitter&lt;any&gt;();
// @Output() sendInfowindow: EventEmitter&lt;InfoWindow&gt; &#x3D; new EventEmitter&lt;InfoWindow&gt;();
@Output() sendInfoWindow: EventEmitter&lt;InfoWindow&gt; &#x3D; new EventEmitter&lt;InfoWindow&gt;();

public directionsService: any &#x3D; undefined;
public directionsDisplay: any &#x3D; undefined;
Expand Down Expand Up @@ -1506,7 +1528,7 @@ <h3 id="inputs">
this.directionsDisplay &#x3D; new google.maps.DirectionsRenderer(this.renderOptions);
this.directionsDisplay.setMap(map);
this.directionsDisplay.addListener(&#x27;directions_changed&#x27;, () &#x3D;&gt; {
// #18 issue - listener for dragable routes
// #18 - listener for dragable routes
this.onChange.emit(this.directionsDisplay.getDirections());
});
}
Expand Down Expand Up @@ -1597,15 +1619,16 @@ <h3 id="inputs">
* @private
* @param {GoogleMap} map map
* @param {Marker} marker marker
* @param {Object} markerOpts properties
* @param {String} content marker&#x27;s infowindow content
* @param {any} markerOpts properties
* @param {string} content marker&#x27;s infowindow content
* @returns {Marker} new marker
* @memberof AgmDirection
*/
private setMarker(map: GoogleMap, marker: Marker, markerOpts: any, content: string) {
if (typeof this.infoWindow &#x3D;&#x3D;&#x3D; &#x27;undefined&#x27;) {
// #27 - infowindow
this.infoWindow &#x3D; new google.maps.InfoWindow({});
// this.sendInfowindow.emit(this.infoWindow);
this.sendInfoWindow.emit(this.infoWindow);
}
marker &#x3D; new google.maps.Marker(markerOpts);
marker.addListener(&#x27;click&#x27;, () &#x3D;&gt; {
Expand Down
Loading

0 comments on commit 7d7ae2a

Please sign in to comment.