Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
fix(list): Remove ancillary event parameter (#1062)
Browse files Browse the repository at this point in the history
Closes #1061
  • Loading branch information
trimox authored Jun 29, 2018
1 parent fa9e0cf commit 02f3381
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/list/list-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class MdcListItem implements OnDestroy {
= new EventEmitter<MdcListSelectionChange>();
@ContentChild(MdcListItemGraphic) listItemStart: MdcListItemGraphic;

@HostListener('click', ['$event']) onclick() {
@HostListener('click') onclick() {
this.setSelected(!this.selected);
this._emitChangeEvent();
}
Expand Down
3 changes: 2 additions & 1 deletion src/lib/list/tsconfig-build.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"strictMetadataEmit": true,
"flatModuleOutFile": "index.js",
"flatModuleId": "@angular-mdc/web/list",
"skipTemplateCodegen": true
"skipTemplateCodegen": true,
"fullTemplateTypeCheck": true
}
}

0 comments on commit 02f3381

Please sign in to comment.