Browse Source

add event to onEvent function

JimMarlowe 8 years ago
parent
commit
e9ecf9a39a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Script/Packages/Atomic/UI.json

+ 1 - 1
Script/Packages/Atomic/UI.json

@@ -23,7 +23,7 @@
 		],
 		"UIWidget": [
 		    "getWidget<T extends UIWidget>(id: string): T;",
-		    "onEvent: () => void;",
+		    "onEvent: (data:any) => void;",
 		    "onChanged: () => void;"
 		]
 	}