mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 23:13:43 +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
|
* @method
|
||||||
* @param {string} notePath (or noteId)
|
* @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;
|
this.createNoteLink = linkService.createNoteLink;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue