Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Plugin API

Jason Stallings edited this page Feb 2, 2015 · 4 revisions

Events

apiready

Fired when the app has finished loading.

noteloaded

Fired when a note has finished loading.

Arguments

Name Description
note ID of the loaded note.
previousnote ID of the previous note.

editing

Fired when the editor is loaded.

Arguments

Name Description
note ID of the note being edited.

displaying

Fired when the note is displayed (after editing).

Arguments

Name Description
note ID of the note being displayed.

api.emit("", {note: current}); api.emit("", {note: current}); api.emit("noteloaded", {note: current, previousnote: oldnote});

Clone this wiki locally