Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class NoteCallbacks
import { NoteCallbacks } from "https://deno.land/x/sptaki@1.2.0/callbacks/mod.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