|
|
|
@ -1,7 +1,6 @@
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h2>Search For A Star Wars Character</h2>
|
|
|
|
<h2>Search For A Star Wars Character</h2>
|
|
|
|
<input [(ngModel)]="name" type="text" placeholder="Character Name"/>
|
|
|
|
<input [(ngModel)]="name" type="text" placeholder="Character Name" (keyup)="findCharacter(name)" />
|
|
|
|
<input (click)="findCharacter(name)" type="submit" value="Search"/>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
<section *ngIf="results">
|
|
|
|
<section *ngIf="results">
|
|
|
|
<h2>Search Results</h2>
|
|
|
|
<h2>Search Results</h2>
|
|
|
|
|