From a108ef91a0193c7cabe26693c9f863995cc8006e Mon Sep 17 00:00:00 2001 From: zadam Date: Tue, 17 Nov 2020 20:11:10 +0100 Subject: [PATCH] fixed .createNoteLink API documentation --- src/public/app/services/frontend_script_api.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/public/app/services/frontend_script_api.js b/src/public/app/services/frontend_script_api.js index 3aa28b7e1..f589bef1a 100644 --- a/src/public/app/services/frontend_script_api.js +++ b/src/public/app/services/frontend_script_api.js @@ -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;