add createLink() returns jsDoc, #4235

This commit is contained in:
zadam
2023-09-06 09:20:32 +02:00
parent 2b4cbb5f6b
commit 2bc7da91a6
3 changed files with 50 additions and 26 deletions

View File

@@ -329,6 +329,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
* @param {boolean} [params.showNotePath=false] - show also whole note's path as part of the link
* @param {boolean} [params.showNoteIcon=false] - show also note icon before the title
* @param {string} [params.title=] - custom link tile with note's title as default
* @returns {jQuery} - jQuery element with the link (wrapped in <span>)
*/
this.createLink = linkService.createLink;