mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 15:45:58 +08:00
API comments
This commit is contained in:
parent
cb2b97635a
commit
8ee537e2eb
|
@ -274,7 +274,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
|
|||
this.showError = toastService.showError;
|
||||
|
||||
/**
|
||||
* Trigger command.
|
||||
* Trigger command. This is a very low-level API which should be avoided if possible.
|
||||
*
|
||||
* @method
|
||||
* @param {string} name
|
||||
|
@ -283,7 +283,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
|
|||
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
|
||||
* @param {string} name
|
||||
|
|
Loading…
Reference in a new issue