Skip to content

Instantly share code, notes, and snippets.

@phenomnomnominal
Created March 20, 2019 02:18
Show Gist options
  • Save phenomnomnominal/0df4d9bcedcb76d08488b010c405d94f to your computer and use it in GitHub Desktop.
Save phenomnomnominal/0df4d9bcedcb76d08488b010c405d94f to your computer and use it in GitHub Desktop.
<div
class="o-card__images-container">
<ng-container
*ngIf="video">
<my-card-video>
[video]="video">
</my-card-video>
</ng-container>
<ng-container
*ngIf="images">
<my-card-image-carousel>
[images]="images">
</my-card-image>
</ng-container>
<ng-container
*ngIf="image">
<my-card-image
[image]="image">
</my-card-image>
</ng-container>
</div>
<div
class="o-card__title-container">
<my-card-title>{{ title }}</my-card-title>
</div>
<div
class="o-card__details-container">
<my-card-details
[listed]="listed"
[price]="price">
</my-card-details>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment