summaryrefslogtreecommitdiffstats
path: root/src/webengine/doc/src/webengineview_lgpl.qdoc
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2019-07-11 11:47:30 +0200
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2019-07-22 15:37:49 +0200
commit002e47692b071400e8917a1604b37039860f86c2 (patch)
tree0a8a8be919498f0851618f8a58bd70aefd50367c /src/webengine/doc/src/webengineview_lgpl.qdoc
parent662de14ceecee701b31478849ae147c70f3fe00f (diff)
Doc: Edit docs on script injection
Task-number: QTBUG-76489 Change-Id: If489ebed802d273b0015bc6cfc190d948c4896e3 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'src/webengine/doc/src/webengineview_lgpl.qdoc')
-rw-r--r--src/webengine/doc/src/webengineview_lgpl.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/webengine/doc/src/webengineview_lgpl.qdoc b/src/webengine/doc/src/webengineview_lgpl.qdoc
index d790cccea..6194a800e 100644
--- a/src/webengine/doc/src/webengineview_lgpl.qdoc
+++ b/src/webengine/doc/src/webengineview_lgpl.qdoc
@@ -396,7 +396,7 @@
runJavaScript("document.title", function(result) { console.log(result); });
\endcode
- Only "plain data" can be returned from JavaScript as the result value.
+ Only plain data can be returned from JavaScript as the result value.
Supported data types include all of the JSON data types as well as, for
example, \c{Date} and \c{ArrayBuffer}. Unsupported data types include, for
example, \c{Function} and \c{Promise}.
@@ -407,7 +407,8 @@
\warning Do not execute lengthy routines in the callback function, because it might block the
rendering of the web content.
- See WebEngineView::userScripts for an alternative API to inject scripts.
+ For more information about injecting scripts, see \l {Script Injection}.
+ For an alternative way to inject scripts, see WebEngineView::userScripts.
*/
/*!