From e30a921e3180f201b4c18745f50c72a42c09c647 Mon Sep 17 00:00:00 2001 From: zadam Date: Sun, 14 Jun 2020 13:33:38 +0200 Subject: [PATCH] Updated Events (markdown) --- Events.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Events.md b/Events.md index f2e9e4c..a79d0b0 100644 --- a/Events.md +++ b/Events.md @@ -1,4 +1,4 @@ -In general we may say that [[script|scripts]] note execution is triggered by events. +[[Script|scripts]] notes can be triggered by events. Note that these are backend events and thus relation need to point to the "JS backend" code note. ## Global events @@ -14,8 +14,6 @@ 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). -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)