html 3#todoapp-angular-ngrx

Posted

tags:

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

<div class="col-md-3 options" >
        <ng-container *ngIf="!todo.create && !todo.editing">
            <button class="btn btn-success" *ngIf="todo.status != 'done'" (click)="completeTodo(todo)">
                <i  class="fa fa-check"></i>
              </button>
          <button class="btn btn-primary" (click)="editTodo(todo)">
                  <i  class="fa fa-pencil"></i>
                </button>
          <button class="btn btn-danger" (click)="this.deleted.emit(todo);">
                  <i  class="fa fa-trash"></i>
                </button>
        </ng-container>
        <ng-container *ngIf="todo.create">
            <button class="btn btn-success" (click)="createTodo(todo)">
                Create
              </button>
        </ng-container>

        <ng-container *ngIf="todo.editing">

          <button class="btn btn-primary" (click)="editTodoSubmit(todo)">
                  Submit
                </button>
        </ng-container>
      </div>

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

HTML - 扫盲

3月20,html

html 搜索3.html

html DD-3.html

html Carousel组件HTML - 迭代3

html 传播-3.html