Skip to content

Instantly share code, notes, and snippets.

@lydemann
Last active October 31, 2018 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lydemann/758caa8cec4bf315254f31bae487692c to your computer and use it in GitHub Desktop.
Save lydemann/758caa8cec4bf315254f31bae487692c to your computer and use it in GitHub Desktop.
@Component({
selector: 'app-todo-item',
template: ''
})
export class TodoItemComponentMock implements OnInit, TodoItemComponent {
@Input() public todoItem: TODOItem;
@Input() public readOnlyTODO: boolean;
@Output() public todoDelete = new EventEmitter();
@Output() public todoEdit = new EventEmitter();
constructor() { }
public ngOnInit() {
}
public completeClick() {
}
public deleteClick() {
}
public editClick() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment