Quickcontrols 2 StackView push without properties
Unsolved
QML and Qt Quick
-
I want to use the API "
Item pushItem(item, properties, operation)
" without properties.
I tried different approaches. But nothing works. How to send an empty property or avoid sending property for the API, but the operation.stackView.pushItem(item, {}, StackView.Immediate); stackView.pushItem(item, undefined, StackView.Immediate);
-
I can do below with push for now and seems to be working, but I would like to have strong type checking nature of pushItem.
stackView.push(item, undefined, StackView.Immediate);