diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-02-03 07:40:00 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-02-03 07:40:00 (GMT) |
commit | cb16e0adba54015963f2cd8a3f0188965c0c9ef8 (patch) | |
tree | f8bd04e549899b30658ff9cde26a0e8870f62847 /doc/src/declarative/propertybinding.qdoc | |
parent | 6abdaa41a3f40238e8a60b80b9ac55a694181e11 (diff) | |
download | Qt-cb16e0adba54015963f2cd8a3f0188965c0c9ef8.zip Qt-cb16e0adba54015963f2cd8a3f0188965c0c9ef8.tar.gz Qt-cb16e0adba54015963f2cd8a3f0188965c0c9ef8.tar.bz2 |
We use JavaScript, not ECMAScript.
Task-number: QTBUG-7720
Diffstat (limited to 'doc/src/declarative/propertybinding.qdoc')
-rw-r--r-- | doc/src/declarative/propertybinding.qdoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/declarative/propertybinding.qdoc b/doc/src/declarative/propertybinding.qdoc index 8d0ffa9..ad4f13e 100644 --- a/doc/src/declarative/propertybinding.qdoc +++ b/doc/src/declarative/propertybinding.qdoc @@ -44,11 +44,11 @@ \title Property Binding Property binding is a declarative way of specifying the value of a property. Binding allows -a property's value to be expressed as an ECMAScript expression that defines the value relative +a property's value to be expressed as an JavaScript expression that defines the value relative to other property values or data accessible in the application. The property value is automatically kept up to date if the other properties or data values change. -Property bindings are created implicitly in QML whenever a property is assigned an ECMAScript +Property bindings are created implicitly in QML whenever a property is assigned an JavaScript expression. The following QML uses two property bindings to connect the size of the rectangle to that of \c otherItem. @@ -59,10 +59,10 @@ Rectangle { } \endcode -QML extends a standards compliant ECMAScript engine, so any valid ECMAScript expression can be +QML extends a standards compliant JavaScript engine, so any valid JavaScript expression can be used as a property binding. Bindings can access object properties, make function calls and even -use builtin ECMAScript objects like \e {Date} and \e {Math}. Assigning a constant value to a -property can even be thought of as a binding - afterall, a constant is a valid ECMAScript +use builtin JavaScript objects like \e {Date} and \e {Math}. Assigning a constant value to a +property can even be thought of as a binding - afterall, a constant is a valid JavaScript expression! Here are some examples of more complex bindings: \code @@ -80,7 +80,7 @@ Rectangle { } \endcode -Being ECMAScript expressions, bindings are evaluated in a scope chain. The \l {QML Scope} +Being JavaScript expressions, bindings are evaluated in a scope chain. The \l {QML Scope} documentation covers the specifics of scoping in QML. \list |