diff --git examples/particle/main.go examples/particle/main.go
index 2a7ab86..dced020 100644
--- examples/particle/main.go
+++ examples/particle/main.go
@@ -45,6 +45,10 @@ type Control struct {
Message string
}
+func (ctrl *Control) Test(l []string) {
+ fmt.Printf("%+v\n", l)
+}
+
func (ctrl *Control) TextReleased(text qml.Object) {
x := text.Int("x")
y := text.Int("y")
diff --git examples/particle/particle.qml examples/particle/particle.qml
index 1fd1f1c..418573e 100644
--- examples/particle/particle.qml
+++ examples/particle/particle.qml
@@ -30,7 +30,7 @@ Rectangle {
id: mouseArea
anchors.fill: parent
drag.target: parent
- onReleased: ctrl.textReleased(parent)
+ onReleased: ctrl.test(["a", "b"])
}
}