Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49613

forEach() for QQmlListProperty types

XMLWordPrintable

    • 7e4b179430 (qt/qtdeclarative/dev) 7e4b179430 (qt/tqtc-qtdeclarative/dev)

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ulherman Ulf Hermann
            poikelin Joni Poikelin
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes