summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/properties/example.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/extending/properties/example.qml')
-rw-r--r--examples/declarative/extending/properties/example.qml13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/declarative/extending/properties/example.qml b/examples/declarative/extending/properties/example.qml
new file mode 100644
index 0000000..63bb77b
--- /dev/null
+++ b/examples/declarative/extending/properties/example.qml
@@ -0,0 +1,13 @@
+// ![0]
+BirthdayParty {
+ celebrant: Person {
+ name: "Bob Jones"
+ shoeSize: 12
+ }
+ guests: [
+ Person { name: "Joan Hodges" },
+ Person { name: "Jack Smith" },
+ Person { name: "Anne Brown" }
+ ]
+}
+// ![0]