2017-06-02 00:03:10 +03:00
|
|
|
<div id="top-of-page"></div>
|
|
|
|
|
2017-05-19 01:52:37 -07:00
|
|
|
<div *ngIf="isFetching" class="progress-bar-container">
|
2017-10-13 13:02:27 -07:00
|
|
|
<mat-progress-bar mode="indeterminate" color="warn"></mat-progress-bar>
|
2017-05-19 01:52:37 -07:00
|
|
|
</div>
|
|
|
|
|
2018-02-14 22:55:24 -05:00
|
|
|
<mat-toolbar color="primary" class="app-toolbar" [class.transitioning]="isTransitioning">
|
2018-01-11 13:56:01 +00:00
|
|
|
<mat-toolbar-row class="notification-container">
|
|
|
|
<aio-notification
|
|
|
|
icon="insert_comment"
|
|
|
|
iconLabel="Survey"
|
|
|
|
buttonText="Go to survey"
|
|
|
|
actionUrl="https://bit.ly/angular-survey-2018"
|
|
|
|
notificationId="survey-january-2018"
|
|
|
|
expirationDate="2018-01-19"
|
|
|
|
(dismissed)="notificationDismissed()">
|
|
|
|
Help Angular by taking a <b>1 minute survey</b>!
|
|
|
|
</aio-notification>
|
|
|
|
</mat-toolbar-row>
|
|
|
|
<mat-toolbar-row>
|
2018-01-21 14:41:52 +02:00
|
|
|
<button mat-button class="hamburger" [class.starting]="isStarting" (click)="sidenav.toggle()" title="Docs menu">
|
2018-01-11 13:56:01 +00:00
|
|
|
<mat-icon svgIcon="menu"></mat-icon>
|
|
|
|
</button>
|
|
|
|
<a class="nav-link home" href="/" [ngSwitch]="isSideBySide">
|
|
|
|
<img *ngSwitchCase="true" src="assets/images/logos/angular/logo-nav@2x.png" width="150" height="40" title="Home" alt="Home">
|
|
|
|
<img *ngSwitchDefault src="assets/images/logos/angular/shield-large.svg" width="37" height="40" title="Home" alt="Home">
|
|
|
|
</a>
|
|
|
|
<aio-top-menu *ngIf="isSideBySide" [nodes]="topMenuNodes"></aio-top-menu>
|
|
|
|
<aio-search-box class="search-container" #searchBox (onSearch)="doSearch($event)" (onFocus)="doSearch($event)"></aio-search-box>
|
|
|
|
</mat-toolbar-row>
|
2017-10-13 13:02:27 -07:00
|
|
|
</mat-toolbar>
|
2017-10-11 22:04:50 +01:00
|
|
|
<aio-search-results #searchResultsView *ngIf="showSearchResults" [searchResults]="searchResults | async" (resultSelected)="hideSearchResults()"></aio-search-results>
|
2017-03-06 15:08:34 +00:00
|
|
|
|
2017-10-13 13:02:27 -07:00
|
|
|
<mat-sidenav-container class="sidenav-container" [class.starting]="isStarting" [class.has-floating-toc]="hasFloatingToc" role="main">
|
2017-03-06 15:08:34 +00:00
|
|
|
|
2017-12-19 02:26:12 +02:00
|
|
|
<mat-sidenav [ngClass]="{'collapsed': !isSideBySide}" #sidenav class="sidenav" [opened]="isOpened" [mode]="mode" (open)="updateHostClasses()" (close)="updateHostClasses()">
|
2017-06-08 15:46:32 -07:00
|
|
|
<aio-nav-menu *ngIf="!isSideBySide" [nodes]="topMenuNarrowNodes" [currentNode]="currentNodes?.TopBarNarrow" [isWide]="false"></aio-nav-menu>
|
|
|
|
<aio-nav-menu [nodes]="sideNavNodes" [currentNode]="currentNodes?.SideNav" [isWide]="isSideBySide"></aio-nav-menu>
|
2017-04-25 14:48:01 -07:00
|
|
|
|
2017-07-26 20:24:59 +01:00
|
|
|
<div class="doc-version">
|
|
|
|
<aio-select (change)="onDocVersionChange($event.index)" [options]="docVersions" [selected]="currentDocVersion"></aio-select>
|
2017-04-25 14:48:01 -07:00
|
|
|
</div>
|
2017-10-13 13:02:27 -07:00
|
|
|
</mat-sidenav>
|
2017-03-06 15:08:34 +00:00
|
|
|
|
2017-04-17 10:57:49 -07:00
|
|
|
<section class="sidenav-content" [id]="pageId" role="content">
|
2017-07-26 18:36:00 +01:00
|
|
|
<aio-mode-banner [mode]="deployment.mode" [version]="versionInfo"></aio-mode-banner>
|
2017-12-19 02:26:12 +02:00
|
|
|
<aio-doc-viewer [class.no-animations]="isStarting"
|
|
|
|
[doc]="currentDocument"
|
|
|
|
(docReady)="onDocReady()"
|
|
|
|
(docRemoved)="onDocRemoved()"
|
|
|
|
(docInserted)="onDocInserted()"
|
|
|
|
(docRendered)="onDocRendered()">
|
|
|
|
</aio-doc-viewer>
|
2017-04-01 21:45:32 -07:00
|
|
|
<aio-dt [on]="dtOn" [(doc)]="currentDocument"></aio-dt>
|
2017-03-06 15:08:34 +00:00
|
|
|
</section>
|
2017-03-29 14:13:40 -07:00
|
|
|
|
2017-10-13 13:02:27 -07:00
|
|
|
</mat-sidenav-container>
|
2017-03-22 22:34:53 -07:00
|
|
|
|
2018-02-14 22:55:24 -05:00
|
|
|
<div *ngIf="hasFloatingToc" class="toc-container" [style.max-height.px]="tocMaxHeight" (mousewheel)="restrainScrolling($event)">
|
2017-05-02 10:13:10 -07:00
|
|
|
<aio-toc></aio-toc>
|
|
|
|
</div>
|
2017-05-02 10:13:10 -07:00
|
|
|
|
2018-02-14 22:55:24 -05:00
|
|
|
<footer>
|
2017-05-02 10:13:10 -07:00
|
|
|
<aio-footer [nodes]="footerNodes" [versionInfo]="versionInfo" ></aio-footer>
|
|
|
|
</footer>
|
2017-04-16 03:10:17 -07:00
|
|
|
|