Skip to main content
The Deno 2 Release Candidate is here
Learn more
class NoteCallbacks
import { NoteCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/NoteCallbacks.d.ts";

Constructors

new
NoteCallbacks(noteController: NoteController)

Properties

protected
noteController: NoteController

Methods

addNote(
pmcData: IPmcData,
sessionID: string,
): IItemEventRouterResponse

Handle AddNote event

deleteNote(
pmcData: IPmcData,
sessionID: string,
): IItemEventRouterResponse

Handle DeleteNote event

editNote(
pmcData: IPmcData,
sessionID: string,
): IItemEventRouterResponse

Handle EditNote event