diff options
Diffstat (limited to 'doc/src/declarative/extending.qdoc')
-rw-r--r-- | doc/src/declarative/extending.qdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/declarative/extending.qdoc b/doc/src/declarative/extending.qdoc index 893838f..42b054f 100644 --- a/doc/src/declarative/extending.qdoc +++ b/doc/src/declarative/extending.qdoc @@ -380,11 +380,11 @@ implement the rsvp attached property. \snippet examples/declarative/extending/signal/example.qml 0 \snippet examples/declarative/extending/signal/example.qml 1 -The QML snippet shown above associates the evaluation of a ECMAScript expression +The QML snippet shown above associates the evaluation of a JavaScript expression with the emission of a Qt signal. All Qt signals on a registered class become available as special "signal -properties" within QML to which the user can assign a single ECMAScript +properties" within QML to which the user can assign a single JavaScript expression. The signal property's name is a transformed version of the Qt signal name: "on" is prepended, and the first letter of the signal name upper cased. For example, the signal used in the example above has the following @@ -464,7 +464,7 @@ HappyBirthday's name property remains up to date with the celebrant. Property binding is a core feature of QML. In addition to assigning literal values, property bindings allow the developer to assign an arbitrarily complex -ECMAScript expression that may include dependencies on other property values. +JavaScript expression that may include dependencies on other property values. Whenever the expression's result changes - through a change in one of its constituent values - the expression is automatically reevaluated and the new result assigned to the property. |