SHARE
TWEET

Untitled

a guest Jul 18th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="card container">
  2.   <div class="label">
  3.     <label for="car">Search Car:</label>
  4.   </div>
  5.   <div>
  6.     <input id="car" #carSearchInput placeholder="Search Car By Name" class="form-control" type="text" autocomplete="off" (click)="showSearches = true">
  7.   </div>
  8.  
  9.   <!--  DropDown Starts  -->
  10.     <div class="card" [hidden]="!showSearches">
  11.       <div class="search">
  12.         <div *ngFor="let car of searchedCars; trackBy: trackById" tappable (click)="setCarName(car)" class="search-result">
  13.             {{car}}
  14.         </div>    
  15.       </div>
  16.       <p class="search" *ngIf="searchedCars && searchedCars.length <= 0 && !isSearching">No Car found</p>
  17.       <p class="search" [hidden]="!isSearching">Searching cars...</p>
  18.     </div>
  19. <!--  DropDown Ends  -->
  20.  
  21. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top