tweet-body.html 844 B

1234567891011121314
  1. <!-- Generated template for the TweetBodyComponent component -->
  2. <div>
  3. <div class="tweet-array">
  4. <span class="tweet-array-part" *ngFor="let part of tweetArray">
  5. <span *ngIf="part.type =='text'" class="text">{{ part.text }}</span>
  6. <a *ngIf="part.type == 'url'" href="{{ part.url }}">{{ part.text }}</a>
  7. <mention *ngIf="part.type == 'user_mention'" [username]="part.text" [userId]="part.userId"></mention>
  8. <hashtag *ngIf="part.type == 'hashtag'" [hashtag]="part.text"></hashtag>
  9. </span>
  10. </div>
  11. <img *ngIf="hasPhoto" src="{{ entities.media[0]['media_url_https'] }}" alt="Photo" class="photo">
  12. <video *ngIf="isGif" src="{{ extended_entities.media[0]['video_info']['variants'][0]['url'] }}" autoplay loop></video>
  13. <quoted-status *ngIf="data.quoted_status" [data]="data.quoted_status"></quoted-status>
  14. </div>