diff --git a/docs/frontend_api/FrontendScriptApi.html b/docs/frontend_api/FrontendScriptApi.html index 79d77644e..788b895a3 100644 --- a/docs/frontend_api/FrontendScriptApi.html +++ b/docs/frontend_api/FrontendScriptApi.html @@ -614,7 +614,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -1819,7 +1819,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -2027,7 +2027,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -2081,7 +2081,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s - + @@ -2409,7 +2409,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -2434,6 +2434,28 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s +
Returns:
+ + +
+ - jQuery element with the link (wrapped in ) +
+ + + +
+
+ Type +
+
+ +jQuery + + +
+
+ + @@ -2699,7 +2721,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -2854,7 +2876,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -2964,7 +2986,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -3070,7 +3092,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -3176,7 +3198,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -3286,7 +3308,7 @@ available in the JS frontend notes. You can use e.g. api.showMessage(api.s
Source:
@@ -3397,7 +3419,7 @@ implementation of actual widget type.
Source:
@@ -3552,7 +3574,7 @@ implementation of actual widget type.
Source:
@@ -3707,7 +3729,7 @@ implementation of actual widget type.
Source:
@@ -3969,7 +3991,7 @@ if some action needs to happen on only one specific instance.
Source:
@@ -4432,7 +4454,7 @@ otherwise (by e.g. createLink())
Source:
@@ -4587,7 +4609,7 @@ otherwise (by e.g. createLink())
Source:
@@ -4742,7 +4764,7 @@ otherwise (by e.g. createLink())
Source:
@@ -4892,7 +4914,7 @@ otherwise (by e.g. createLink())
Source:
@@ -5577,7 +5599,7 @@ otherwise (by e.g. createLink())
Source:
@@ -5751,7 +5773,7 @@ otherwise (by e.g. createLink())
Source:
@@ -5906,7 +5928,7 @@ otherwise (by e.g. createLink())
Source:
@@ -6060,7 +6082,7 @@ otherwise (by e.g. createLink())
Source:
@@ -6847,7 +6869,7 @@ Internally this serializes the anonymous function into string and sends it to ba
Source:
@@ -6998,7 +7020,7 @@ Internally this serializes the anonymous function into string and sends it to ba
Source:
@@ -7702,7 +7724,7 @@ Typical use case is when a new note has been created, we should wait until it is
Source:
diff --git a/docs/frontend_api/services_frontend_script_api.js.html b/docs/frontend_api/services_frontend_script_api.js.html index 3540460c6..96cc31057 100644 --- a/docs/frontend_api/services_frontend_script_api.js.html +++ b/docs/frontend_api/services_frontend_script_api.js.html @@ -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; diff --git a/src/public/app/services/frontend_script_api.js b/src/public/app/services/frontend_script_api.js index 6272c28e9..9dd198a15 100644 --- a/src/public/app/services/frontend_script_api.js +++ b/src/public/app/services/frontend_script_api.js @@ -301,6 +301,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 ) */ this.createLink = linkService.createLink;