Skip to content

Commit

Permalink
resolved conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao committed Oct 26, 2016
1 parent 4cc4428 commit d490bc2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib/checkbox/checkbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,17 @@ export class MdCheckbox implements ControlValueAccessor {
@Input() id: string = `md-checkbox-${++nextId}`;

/** Whether the ripple effect on click should be disabled. */
@Input() @BooleanFieldValue() disableRipple: boolean = false;
private _disableRipple: boolean;

@Input()
get disableRipple(): boolean { return this._disableRipple; }
set disableRipple(value) { this._disableRipple = coerceBooleanProperty(value); }

/** ID to be applied to the `input` element */
get inputId(): string {
return `input-${this.id}`;
}

private _required: boolean;

/** Whether the checkbox is required or not. */
Expand Down

0 comments on commit d490bc2

Please sign in to comment.