我在Angular2中创建了一组FAB按钮。我想添加动画,以便它们一个接一个地显示以进行隐藏和显示操作。我该如何处理动画,有谁可以帮我动画。
<button md-mini-fab class="md-fab md-raised md-primary" aria-label="New Task" [disabled]="!this.isPermission" (click)='FabToggle = !FabToggle'>
<md-icon style="color:white;">menu</md-icon>
</button>
<div class="fab-actions" [ngClass]="{'fabActionsHide':!FabToggle,'fabActionsShow':FabToggle}">
<button md-mini-fab class="md-fab md-raised md-primary" (click)='reloadApi()'>
<md-icon svgIcon="refresh"></md-icon>
</button>
<button [disabled]="!this.isPermission" md-mini-fab class="md-fab md-raised md-primary" (click)='generatePDF()'>
<md-icon svgIcon="pdf"></md-icon>
</button>
<button [disabled]="!this.isPermission" md-mini-fab class="md-fab md-raised md-primary" (click)='generateCSV()'>
<md-icon svgIcon="csv"></md-icon>
</button>
<button [disabled]="!this.isPermission || !checkin_entries" md-mini-fab class="md-fab md-raised md-primary" (click)="addModal.show();FabToggle = !FabToggle">
<md-icon style="color:white;">add</md-icon>
</button>