QML array alternative syntax
-
In QML the regular syntax to fill an array in declarative way is :
@states: [
State {...},
State {...},
State {...}
]@I found out by accident that an alternative syntax is also supported but it didn't find any doc about it :
@states {
State {...}
State {...}
State {...}
}@It doesn't seem new since it is supported also on Qt 4.8 for instance.
Does anyone use it ?
Is some obsloete early QML feature that would be removed at some point ?Thanks,
Christopher -
I think it is just as valid as the other one, so it is unlikely to go away.
-
Ok I should fill a bug report on the doc side then
-
edit: not useful anymore