Skip to content

Commit

Permalink
chore(rating): removed ngModel from selector
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Dec 7, 2016
1 parent 7ba357e commit abaa548
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rating/rating.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ export const RATING_CONTROL_VALUE_ACCESSOR: any = {
};

@Component({
/* tslint:disable */
selector: 'rating[ngModel]',
/* tslint:enable */
selector: 'rating',
template: `
<span (mouseleave)="reset()" (keydown)="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" [attr.aria-valuemax]="range.length" [attr.aria-valuenow]="value">
<template ngFor let-r [ngForOf]="range" let-index="index">
Expand Down

0 comments on commit abaa548

Please sign in to comment.