diff options
author | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-09-10 16:08:21 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@theqtcompany.com> | 2015-10-08 10:31:40 +0000 |
commit | 6df94b3cfd7eab7222542237a219144615bd434b (patch) | |
tree | cab61674064270d2eccc00c14a19246be2ec43ed /src/webengine/doc | |
parent | a45f6fc3e1016a223a4b235cc61b033f8665c853 (diff) |
Improve runJavaScript documentation
Mention that the script will run in the same JavaScript world as scripts
that are part of the page. Also link to new scripts API.
Change-Id: I4dd80fdd84644b1fa4ce6c63ab07c1dbba855389
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'src/webengine/doc')
-rw-r--r-- | src/webengine/doc/src/webengineview.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webengine/doc/src/webengineview.qdoc b/src/webengine/doc/src/webengineview.qdoc index fd7733d13..b734413ea 100644 --- a/src/webengine/doc/src/webengineview.qdoc +++ b/src/webengine/doc/src/webengineview.qdoc @@ -248,6 +248,10 @@ runJavaScript("document.title", function(result) { console.log(result); }); \endcode + The script will run in the same \e world as other scripts that are + part of the loaded site. + + See WebEngineView::userScripts for an alternative API to inject scripts. */ /*! |