Changeset 6fe77af for trip-planner-front/src/app/explore/explore-result
- Timestamp:
- 02/06/22 18:15:51 (3 years ago)
- Branches:
- master
- Children:
- 571e0df
- Parents:
- 76712b2
- Location:
- trip-planner-front/src/app/explore/explore-result
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/src/app/explore/explore-result/explore-result.component.html
r76712b2 r6fe77af 15 15 16 16 <main role="main"> 17 <h1 style="color: #F77D62; display: inline; ">Explore</h1>17 <h1 style="color: #F77D62; display: inline;">Explore</h1> 18 18 <h1 style=" display: inline;">{{place}}</h1> 19 19 <div class="lightbox" *ngFor="let l of allLocation"> … … 25 25 </div> 26 26 </div> 27 28 29 27 30 <div class="container"> 28 31 <li *ngFor="let location of allLocation"> -
trip-planner-front/src/app/explore/explore-result/explore-result.component.ts
r76712b2 r6fe77af 17 17 } 18 18 19 responsiveOptions:any[] = [ 20 { 21 breakpoint: '1024px', 22 numVisible: 5 23 }, 24 { 25 breakpoint: '768px', 26 numVisible: 3 27 }, 28 { 29 breakpoint: '560px', 30 numVisible: 1 31 } 32 ]; 19 33 ngOnInit(): void { 20 34 this.route.queryParams … … 25 39 26 40 this.locationService.getAllLocationsSearch(this.place).subscribe( 27 data=> {28 this.allLocation = data;41 res => { 42 this.allLocation = res; 29 43 } 30 44 )
Note:
See TracChangeset
for help on using the changeset viewer.