Changed JavaScript API name for signal connection and disconnection
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / docs / content / pan-gesture-detector.js
index 3285651..55291e0 100644 (file)
@@ -20,7 +20,7 @@ dali.stage.add(actor);
 panGestureDetector.attach(actor);
 
 // Connect the detected signal
 panGestureDetector.attach(actor);
 
 // Connect the detected signal
-panGestureDetector.connect("pan-detected", onPan);
+panGestureDetector.on("panDetected", onPan);
 
 onPan = function(actor, panGesture)
 {
 
 onPan = function(actor, panGesture)
 {
@@ -38,4 +38,4 @@ panGestureDetector.detach(actor);
 ```
 @class PanGestureDetector
 
 ```
 @class PanGestureDetector
 
-*/
\ No newline at end of file
+*/