Files
Angular-Cn/aio/src/app/custom-elements/api/api-list.component.html
T

38 lines
1.3 KiB
HTML
Raw Normal View History

2017-06-11 21:38:34 +01:00
<div class="l-flex-wrap api-filter">
2017-03-08 13:08:19 -08:00
<aio-select (change)="setType($event.option)"
[options]="types"
[selected]="type"
[showSymbol]="true"
label="Type:">
</aio-select>
2017-03-08 13:08:19 -08:00
<aio-select (change)="setStatus($event.option)"
[options]="statuses"
[selected]="status"
[disabled]="type.value === 'package'"
label="Status:">
</aio-select>
2017-03-08 13:08:19 -08:00
<div class="form-search">
<input #filter placeholder="Filter" (input)="setQuery($any($event.target).value)" aria-label="Filter Search">
2017-04-01 00:22:02 -07:00
<i class="material-icons">search</i>
2017-03-08 13:08:19 -08:00
</div>
</div>
<article class="api-list-container">
<div *ngFor="let section of filteredSections | async" >
<h2 *ngIf="section.items"><a [href]="section.path" [class.deprecated-api-item]="section.deprecated">{{section.title}}</a></h2>
<ul class="api-list" *ngIf="section.items && section.items.length">
2017-03-08 13:08:19 -08:00
<ng-container *ngFor="let item of section.items">
<li class="api-item">
<a [href]="item.path" [class.deprecated-api-item]="item.stability === 'deprecated'">
<span class="symbol {{item.docType}}"></span>
{{item.title}}
</a>
2017-03-08 13:08:19 -08:00
</li>
</ng-container>
</ul>
</div>
</article>