Files
alfresco-ng2-components/demo-shell-ng2/app/components/search/search-bar.component.html
Will Abson af715c3dd1 Fix file viewer from search results the second time
- Currently it is necessary to destroy the viewer between views

Refs #1315
2016-12-16 15:52:44 +00:00

15 lines
658 B
HTML

<alfresco-search-control *ngIf="isLoggedIn()"
[searchTerm]="searchTerm"
[autocomplete]="false"
(searchSubmit)="onSearchSubmit($event);"
(searchChange)="onSearchTermChange($event);"
(expand)="onExpandToggle($event);"
(fileSelect)="onItemClicked($event)">
</alfresco-search-control>
<alfresco-viewer *ngIf="fileShowed" [(showViewer)]="fileShowed"
[fileNodeId]="fileNodeId"
[overlayMode]="true">
<div class="mdl-spinner mdl-js-spinner is-active"></div>
</alfresco-viewer>