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

Support typeof and instanceof in QML

XMLWordPrintable

      You should be able to go:

      if (item instanceof "ListView")

      { ... }

      Alternatively a functionally equivalent way of discovering the "type" of an object should be supported.

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

            unseon.ryu Unseon Ryu
            aakenned Aaron Kennedy
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes