html 3#todoapp-angular-ngrx

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 3#todoapp-angular-ngrx相关的知识,希望对你有一定的参考价值。

<div class="row">
  <div class="col-md-2"></div>
  <div class="col-md-8">
<div class="todos" *ngIf="todoListState$ | async as todoListState">
  <ng-container *ngIf="todoListState.loading;else todoList" >
    <div class="loader"></div>
  </ng-container>
  <ng-template #todoList >

    <ng-container *ngFor="let todo of todoListState.todos">
        <app-todo-list-item [todo]="todo" (created)="onCreate($event)" (deleted)="onDelete($event)" (completed)="completeTodo($event)" (edited)="onEdit($event)" > </app-todo-list-item>
    </ng-container>
  </ng-template>
</div>

</div>

<div class="col-md-2"></div>
</div>

以上是关于html 3#todoapp-angular-ngrx的主要内容,如果未能解决你的问题,请参考以下文章

HTML - 扫盲

3月20,html

html 搜索3.html

html DD-3.html

html Carousel组件HTML - 迭代3

html 传播-3.html