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

Support javascript functions from javascript array model to delegates

XMLWordPrintable

      In case like this:

      ListView {
       model: [ { fn: function(){...} }, ... ]
       delegate: MouseArea {
        onClicked: fn()
       }
      }
      

      This could be worked around by using an array of QtObjects, but it would be nice if this also worked with plain javascript objects

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes