search-results-users.html 980 B

123456789101112131415161718192021222324
  1. <ion-content no-padding fullscreen>
  2. <ion-refresher (ionRefresh)="doRefresh($event)" enabled="query.length">
  3. <ion-refresher-content pullingText=" Pull to refresh" refreshingText="Refreshing...">
  4. </ion-refresher-content>
  5. </ion-refresher>
  6. <ion-list>
  7. <ion-item *ngFor="let user of users" (click)="showProfile(user.id_str)">
  8. <ion-avatar item-start>
  9. <img src="{{ user.profile_image_url_https }}">
  10. </ion-avatar>
  11. <h2>
  12. {{ user.name }}
  13. <ion-icon name="ios-checkmark-circle" *ngIf="user.verified" class="icon-verified"></ion-icon>
  14. <ion-icon name="ios-lock-outline" *ngIf="user.protected" class="icon-protected"></ion-icon>
  15. </h2>
  16. <p>@{{ user.screen_name }}</p>
  17. </ion-item>
  18. </ion-list>
  19. <ion-infinite-scroll (ionInfinite)="loadMore($event)" enabled="query.length">
  20. <ion-infinite-scroll-content loadingText="Loading more users..."></ion-infinite-scroll-content>
  21. </ion-infinite-scroll>
  22. </ion-content>