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

15 lines
1.2 KiB
HTML
Raw Normal View History

2017-01-28 19:47:12 +03:00
<div class="search-input-wrap">
2017-03-15 18:50:10 +03:00
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
2017-01-29 21:59:21 +03:00
<path d="M968.2,849.4L667.3,549c83.9-136.5,66.7-317.4-51.7-435.6C477.1-25,252.5-25,113.9,113.4c-138.5,138.3-138.5,362.6,0,501C219.2,730.1,413.2,743,547.6,666.5l301.9,301.4c43.6,43.6,76.9,14.9,104.2-12.4C981,928.3,1011.8,893,968.2,849.4z M524.5,522c-88.9,88.7-233,88.7-321.8,0c-88.9-88.7-88.9-232.6,0-321.3c88.9-88.7,233-88.7,321.8,0C613.4,289.4,613.4,433.3,524.5,522z"/>
</svg>
2017-02-02 23:03:47 +03:00
<input #search (keyup)="update($event, search.value)" [value]="searchTerm" placeholder="Search">
2017-01-28 19:47:12 +03:00
</div>
<ul class="search-results" [hidden]="!items.length">
<li class="result menu-item-header" *ngFor="let item of items"
2017-01-28 19:47:12 +03:00
ngClass="menu-item-depth-{{item.menuItem.depth}} {{item.menuItem.ready ? '' : 'disabled'}}"
(click)="clickSearch(item)">
<span class="operation-type" [ngClass]="item.menuItem?.metadata?.operation" *ngIf="item.menuItem?.metadata?.operation"> {{item.menuItem?.metadata?.operation}} </span><!--
--><span class="menu-item-title">{{item.menuItem.name}}</span>
2017-01-29 21:59:21 +03:00
</li>
2017-01-24 00:29:52 +03:00
</ul>