Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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