diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-11-26 06:17:27 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-11-26 06:17:27 (GMT) |
commit | 129fc2c269813b7f12b55999649aaacdd25808e4 (patch) | |
tree | bd3d9f86be0080c1d290d8394f57098f5a746523 /doc/src/declarative | |
parent | 33a6e1e08b0a542fc631f28ddc269cec2fec97ce (diff) | |
download | Qt-129fc2c269813b7f12b55999649aaacdd25808e4.zip Qt-129fc2c269813b7f12b55999649aaacdd25808e4.tar.gz Qt-129fc2c269813b7f12b55999649aaacdd25808e4.tar.bz2 |
Doc fixes
Diffstat (limited to 'doc/src/declarative')
-rw-r--r-- | doc/src/declarative/ecmascriptblocks.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/declarative/ecmascriptblocks.qdoc b/doc/src/declarative/ecmascriptblocks.qdoc index 6ee5a8e..470d942 100644 --- a/doc/src/declarative/ecmascriptblocks.qdoc +++ b/doc/src/declarative/ecmascriptblocks.qdoc @@ -54,6 +54,10 @@ assigned to an object property or given an id. The included ECMAScript is evalu in a scope chain. The \l {QML Scope} documentation covers the specifics of scoping in QML. +Note that if you are adding a function that should be called by external elements, +you do not need the \l Script element. See \l {Extending types from QML#Adding new methods} +{Adding new methods} for information about adding slots that can be called externally. + \section1 Inline Script Small blocks of ECMAScript can be included directly inside a \l {QML Document} as |