Skip to content

Instantly share code, notes, and snippets.

@jessipearcy
Created October 17, 2020 23:57
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 jessipearcy/d3c9e82053ebe05f298f1b3af93d55fb to your computer and use it in GitHub Desktop.
Save jessipearcy/d3c9e82053ebe05f298f1b3af93d55fb to your computer and use it in GitHub Desktop.
<app-toolbar></app-toolbar>
<app-habit-form *ngIf="formOpen; else allHabits"
(onExit)="closeForm()"
[habit]="editHabit"></app-habit-form>
<ng-template #allHabits>
<app-all-habits
(addEvent)="onAdding()"
(editEvent)="onEditing($event)"></app-all-habits>
</ng-template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment