Skip to content

Instantly share code, notes, and snippets.

@artberri
Created May 28, 2019 17:51
Show Gist options
  • Save artberri/3475711c49746580240d4c2767f90f31 to your computer and use it in GitHub Desktop.
Save artberri/3475711c49746580240d4c2767f90f31 to your computer and use it in GitHub Desktop.
import { Todo } from '../model';
export interface ITodoUserActions {
onDoubleClicked(): void;
onToggleCheckboxClicked(): void;
onRemoveButtonClicked(): void;
onInputBlur(inputContent: string): void;
}
export interface ITodoView extends ITodoUserActions {
todo: Todo;
setEditMode(): void;
setViewMode(): void;
completeTodo(): void;
activateTodo(): void;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment