diff options
Diffstat (limited to 'doc/src/declarative/javascriptblocks.qdoc')
-rw-r--r-- | doc/src/declarative/javascriptblocks.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/declarative/javascriptblocks.qdoc b/doc/src/declarative/javascriptblocks.qdoc index 01d0d45a2d..ba2bda34b5 100644 --- a/doc/src/declarative/javascriptblocks.qdoc +++ b/doc/src/declarative/javascriptblocks.qdoc @@ -211,12 +211,12 @@ or modules). It is occasionally necessary to run some imperative code at application (or component instance) startup. While it is tempting to just include the startup -script as \e {global code} in an external script file, this can have severe limitations +script as \i {global code} in an external script file, this can have severe limitations as the QML environment may not have been fully established. For example, some objects might not have been created or some \l {Property Binding}s may not have been run. \l {QML JavaScript Restrictions} covers the exact limitations of global script code. -The QML \l Component element provides an \e attached \c onCompleted property that +The QML \l Component element provides an \i attached \c onCompleted property that can be used to trigger the execution of script code at startup after the QML environment has been completely established. For example: |