Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
None
-
7e4b179430 (qt/qtdeclarative/dev) 7e4b179430 (qt/tqtc-qtdeclarative/dev)
Description
Javascript lists have forEach() function that can be used to invoke a callback function for every element. For example:
var list = [...]
list.forEach(function(item){ ... })
Would be nice to have the same for QQmlListProperties too.
Attachments
Issue Links
- is required for
-
QTBUG-104706 qmllint does not recognize JS array functions on QQmlListProperty
-
- Closed
-
- relates to
-
QTBUG-58831 QQmlListProperty should emulate JavaScript's Array API
-
- Closed
-