The directory contains code authored in a style that makes it transpilable to dart. As such, these are not idiomatic examples of Angular 2 usage. The main purpose of this directory is to enable experimentation with Angular within the angular/angular repository. Closes #4342 Closes #4639
10 lines
330 B
HTML
10 lines
330 B
HTML
<div md-theme="default">
|
|
<h2>Checkbox demo</h2>
|
|
|
|
<md-checkbox (click)="increment()">Normal checkbox</md-checkbox>
|
|
<md-checkbox class="md-primary" (click)="increment()">Primary checkbox</md-checkbox>
|
|
<md-checkbox disabled (click)="increment()">Disabled checkbox</md-checkbox>
|
|
|
|
<p>Toggle count: {{toggleCount}}</p>
|
|
</div>
|