API comments

pull/255/head
zadam 2023-06-27 00:14:13 +07:00
parent cb2b97635a
commit 8ee537e2eb
1 changed files with 2 additions and 2 deletions

@ -274,7 +274,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
this.showError = toastService.showError; this.showError = toastService.showError;
/** /**
* Trigger command. * Trigger command. This is a very low-level API which should be avoided if possible.
* *
* @method * @method
* @param {string} name * @param {string} name
@ -283,7 +283,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
this.triggerCommand = (name, data) => appContext.triggerCommand(name, data); this.triggerCommand = (name, data) => appContext.triggerCommand(name, data);
/** /**
* Trigger event. * Trigger event. This is a very low-level API which should be avoided if possible.
* *
* @method * @method
* @param {string} name * @param {string} name