Fix JavaScript docs, where orientation property still called rotation
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / docs / content / actor.js
index 9f051fb..9b4b4ff 100644 (file)
@@ -118,13 +118,13 @@ function OnPressed( actor, touchEvent )
   
   var anim = new dali.Animation( 4 );
   var rotation = new dali.Rotation( 90, 0, 0 ); // pitch, yaw, roll
-  anim.animateBy( actor, "rotation", rotation );
+  anim.animateBy( actor, "orientation", rotation );
   anim.play();
   return true;
 }
   
 // connect to touch events
-myActor.connect( "touched", onPressed );
+myActor.on( "touched", onPressed );
 
 ```
 
@@ -143,7 +143,7 @@ hoverEvent = {
 }
 ```
       // connect to touch events
-      myActor.connect( "hovered", onHover);
+      myActor.on( "hovered", onHover);
 
 #### Mouse wheel event
 
@@ -161,7 +161,7 @@ mouseWheelEvent = {
 }
   
 // connect to touch events
-myActor.connect( "mouseWheelEvent", onMouseWheel );
+myActor.on( "mouseWheelEvent", onMouseWheel );
 ```
 #### Key events
 
@@ -195,8 +195,8 @@ See
  worldPositionX         |FLOAT       | ✘     | ✘
  worldPositionY         |FLOAT       | ✘     | ✘
  worldPositionZ         |FLOAT       | ✘     | ✘
rotation               |ROTATION    | ✔     | ✔
- worldRotation          |ROTATION    | ✘     | ✘
orientation            |ROTATION    | ✔     | ✔
+ worldOrientation       |ROTATION    | ✘     | ✘
  scale                  |VECTOR3     | ✔     | ✔
  scaleX                 |FLOAT       | ✔     | ✔
  scaleY                 |FLOAT       | ✔     | ✔
@@ -213,7 +213,7 @@ See
  name                   |STRING      | ✔     | ✘
  sensitive              |BOOLEAN     | ✔     | ✘
  leaveRequired          |BOOLEAN     | ✔     | ✘
- inheritRotation        |BOOLEAN     | ✔     | ✘
+ inheritOrientation     |BOOLEAN     | ✔     | ✘
  inheritScale           |BOOLEAN     | ✔     | ✘
  colorMode              |NUMBER      | ✔     | ✘
  positionInheritance    |NUMBER      | ✔     | ✘
@@ -381,19 +381,19 @@ WORLD_POSITION_Z
 
 
 /**
- * Actors rotation
- * @property rotation
+ * Actors orientation
+ * @property orientation
  * @type dali Rotation object
  */
-ROTATION
+ORIENTATION
 
 
 /**
- * Actors world-rotation
- * @property worldRotation
+ * Actors world-orientation
+ * @property worldOrientation
  * @type dali Rotation object ( read only)
  */
-WORLD_ROTATION
+WORLD_ORIENTATION
 
 /**
  * Actors scale
@@ -521,10 +521,10 @@ LEAVE_REQUIRED
 /**
  * Set whether a child actor inherits it's parent's orientation.
  * @type Boolean
- * @property inheritRotation
+ * @property inheritOrientation
  * @default true
  */
-INHERIT_ROTATION,
+INHERIT_ORIENTATION,
 
 
 /**