redoc/lib/components/Search/redoc-search.html

11 lines
379 B
HTML
Raw Normal View History

2017-01-28 19:47:12 +03:00
<div class="search-input-wrap">
<input #search (keyup)="update(search.value)" placeholder="Search">
</div>
<ul class="search-results" [hidden]="!items.length">
<li class="result" *ngFor="let item of items"
ngClass="menu-item-depth-{{item.menuItem.depth}} {{item.menuItem.ready ? '' : 'disabled'}}"
(click)="clickSearch(item)">
{{item.menuItem.name}}
2017-01-24 00:29:52 +03:00
<li>
</ul>