Details
-
Bug
-
Resolution: Done
-
P4: Low
-
None
-
4.7.0, 4.8.0, 5.0.0, 5.1.0
-
None
Description
There's a typo in Qt documentation for Qt Quick Basic QML Type - Component.
Regarding the createObject() method, right before showcasing the setting object properties through
with the code there's a sentence:
"For example, the code below creates an object with initial x and y values of 100 and 200, respectively:"
But the code that is shown in example initializes both x and y values as 100.
component.createObject(parent,
{"x": 100, "y": 100});