From 94cfd2dee22a63742cc514124df9308fa13d5d0c Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 14 Jun 2020 13:32:31 +0200 Subject: [PATCH] Updated Events (markdown) --- Events.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Events.md b/Events.md index b250fae..f2e9e4c 100644 --- a/Events.md +++ b/Events.md @@ -14,7 +14,8 @@ Global events are attached to the script note via label. Simply create e.g. "run Other events are bound to some entity, these are defined as [[relations|Attributes]] - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it). -* `runOnNoteView` - executes when note is displayed on frontend +Note that these are backend events and thus relation need to point to the "JS backend" code note. + * `runOnNoteCreation` - executes when note is created on backend * `runOnNoteTitleChange` - executes when note title is changed (includes note creation as well) * `runOnNoteChange` - executes when note is changed (includes note creation as well)