Please enable JavaScript.
Coggle requires JavaScript to display documents.
<a3dn-notes-keeper.dumb.component.ts>, export class Note,…
<a3dn-notes-keeper.dumb.component.ts>
Properties
Input()
noteInputPlaceholder: string = 'Nouvelle note'
Property
notes: Note[]
<a3dn-note-component>
Input()
note: Note
Output()
editNoteEvent = new EventEmitter<EditedNoteInterface>()
Output()
deleteNoteEvent = new EventEmitter<string>()
Proprty()
noteMode: NoteMode = 'ViewMode'
Method()
editButtonClick()
Method()
cancelEditButtonClick()
Method()
saveEditClick()
<a3dn-new-note-component>
Input()
placeholder: string
Output()
newInputEvent = new EventEmitter<string>()
Property()
inputForm: FormGroup
Method()
onEnterKeyUp()
Method()
clearInput()
Output()
changeNoteEvent: EventEmitter
Output()
deleteNoteEvent: EventEmitter
Output()
addNoteEvent: EventEmitter
Output()
scrollEvent: EventEmitter
export class Note
Property()
creationDate: string
Property
description: string
Property
noteId: string
Property
user: User
NoteService
Method()
createNote( id: string)
Method()
getNotes( id: string)
Method()
editNote(description: string, noteId: string)
Method()
deleteNote(noteId: string)
EditedNoteInterface
newDescription: string
noteId: string
type NoteMode
ViewMode
EditMode