generator-fountain-angular2
Version:
Yeoman Fountain generator to scaffold a webapp with Angular 2 written in ES6 (Babel), TypeScript through Webpack or SystemJS including tools Gulp 4, ESLint, Browsersync and Karma
18 lines • 530 B
HTML
<footer class="footer">
<span class="todo-count">
<strong>{{activeCount || 'No'}}</strong> {{activeCount === 1 ? 'item' : 'items'}} left
</span>
<ul class="filters">
<template ngFor let-f [ngForOf]="filters">
<li key="f">
<a [ngClass]="{'selected': f === filter?.type}" (click)="handleChange(f)">{{filterTitles[f]}}</a>
</li>
</template>
</ul>
<button *ngIf="completedCount > 0"
class="clear-completed"
(click)="handleClear($event)"
>
Clear completed
</button>
</footer>