Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NoteManager

Hierarchy

  • NoteManager

Index

Constructors

Accessors

Methods

Constructors

constructor

  • Parameters

    Returns NoteManager

Accessors

notes

  • Returns INote[]

Methods

getNote

  • getNote(id: number): INote | undefined
  • Parameters

    • id: number

    Returns INote | undefined

getUnread

  • Returns INote[]

markRead

  • markRead(noteId: number): void
  • Parameters

    • noteId: number

    Returns void

wasWritten

  • wasWritten(note: Note): boolean
  • Parameters

    Returns boolean

write

  • write(note: Note, ...args: any[]): void
  • Parameters

    • note: Note
    • Rest ...args: any[]

    Returns void

Generated using TypeDoc