2017-02-08 11:24:31 -08:00
|
|
|
<label class="mat-checkbox-layout">
|
|
|
|
|
<div class="mat-checkbox-inner-container">
|
2016-11-30 17:07:34 -08:00
|
|
|
<input #input
|
2017-02-08 11:24:31 -08:00
|
|
|
class="mat-checkbox-input cdk-visually-hidden" type="checkbox"
|
2016-05-13 12:04:39 -07:00
|
|
|
[id]="inputId"
|
2016-09-24 00:43:20 +02:00
|
|
|
[required]="required"
|
2016-05-13 12:04:39 -07:00
|
|
|
[checked]="checked"
|
|
|
|
|
[disabled]="disabled"
|
|
|
|
|
[name]="name"
|
2017-02-09 19:33:47 +01:00
|
|
|
[tabIndex]="tabIndex"
|
2016-05-13 12:04:39 -07:00
|
|
|
[indeterminate]="indeterminate"
|
|
|
|
|
[attr.aria-label]="ariaLabel"
|
|
|
|
|
[attr.aria-labelledby]="ariaLabelledby"
|
2016-07-07 09:32:46 -07:00
|
|
|
(focus)="_onInputFocus()"
|
|
|
|
|
(blur)="_onInputBlur()"
|
|
|
|
|
(change)="_onInteractionEvent($event)"
|
|
|
|
|
(click)="_onInputClick($event)">
|
2017-02-08 11:24:31 -08:00
|
|
|
<div md-ripple *ngIf="!_isRippleDisabled()" class="mat-checkbox-ripple"
|
2016-12-17 02:53:38 +01:00
|
|
|
[mdRippleTrigger]="_getHostElement()"
|
2017-02-17 21:08:20 +01:00
|
|
|
[mdRippleCentered]="true"></div>
|
2017-02-08 11:24:31 -08:00
|
|
|
<div class="mat-checkbox-frame"></div>
|
|
|
|
|
<div class="mat-checkbox-background">
|
2016-03-01 10:56:28 -05:00
|
|
|
<svg version="1.1"
|
2017-02-08 11:24:31 -08:00
|
|
|
class="mat-checkbox-checkmark"
|
2016-03-01 10:56:28 -05:00
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
|
xml:space="preserve">
|
2017-02-08 11:24:31 -08:00
|
|
|
<path class="mat-checkbox-checkmark-path"
|
2016-03-01 10:56:28 -05:00
|
|
|
fill="none"
|
|
|
|
|
stroke="white"
|
|
|
|
|
d="M4.1,12.7 9,17.6 20.3,6.3"/>
|
|
|
|
|
</svg>
|
|
|
|
|
<!-- Element for rendering the indeterminate state checkbox. -->
|
2017-02-08 11:24:31 -08:00
|
|
|
<div class="mat-checkbox-mixedmark"></div>
|
2016-03-01 10:56:28 -05:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-02-08 11:24:31 -08:00
|
|
|
<span class="mat-checkbox-label">
|
2016-03-01 10:56:28 -05:00
|
|
|
<ng-content></ng-content>
|
2016-05-13 12:04:39 -07:00
|
|
|
</span>
|
|
|
|
|
</label>
|