mirror of
https://github.com/zadam/trilium.git
synced 2024-11-10 17:13:45 +08:00
fixed .createNoteLink API documentation
This commit is contained in:
parent
b5480b4137
commit
a108ef91a0
1 changed files with 4 additions and 1 deletions
|
@ -274,7 +274,10 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
|
|||
*
|
||||
* @method
|
||||
* @param {string} notePath (or noteId)
|
||||
* @param {string} [noteTitle] - if not present we'll use note title
|
||||
* @param {object} [params]
|
||||
* @param {boolean} [params.showTooltip=true] - enable/disable tooltip on the link
|
||||
* @param {boolean} [params.showNotePath=false] - show also whole note's path as part of the link
|
||||
* @param {string} [title=] - custom link tile with note's title as default
|
||||
*/
|
||||
this.createNoteLink = linkService.createNoteLink;
|
||||
|
||||
|
|
Loading…
Reference in a new issue