Hello! How I can obtain type of a object from QML code?
I need this feature in Loader:
Loader {
sourceComponent: myObj.type === "MyObject" ? delegate1 : delegate2
}
↧