Merge "Text - Add the color to the vertex info." into devel/master
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / docs / content / keyboard-focus-manager.js
index 465e249..fbdf726 100644 (file)
@@ -11,14 +11,14 @@ It also allows you to set an actor that is used to high light the focused actor.
 
 The application is required to help the manager when moving focus.
 
 
 The application is required to help the manager when moving focus.
 
-<img src="../assets/img/focus-manager.png">
+![ Focus Manager ](../assets/img/focus-manager/focus-manager.png)
 
 ### keyboard-pre-focus-change
 
 Connect to the pre-focus-change call back as follows:
 ```
 // listen for pre-focus change events
 
 ### keyboard-pre-focus-change
 
 Connect to the pre-focus-change call back as follows:
 ```
 // listen for pre-focus change events
-dali.keyboardFocusManager.connect("keyboard-pre-focus-change", this.preFocusChanged);
+dali.keyboardFocusManager.on("keyboardPreFocusChange", this.preFocusChanged);
   
 // example call back handler
   
   
 // example call back handler
   
@@ -39,7 +39,7 @@ myApp.preFocusChanged = function( currentFocusedActor, proposedActorToFocus, dir
   }
 }
   
   }
 }
   
-dali.keyboardFocusManager.connect("keyboard-pre-focus-change", myCallback)
+dali.keyboardFocusManager.on("keyboardPreFocusChange", myCallback)
 ```
 
 KeyboardFocusManager makes the best guess for which actor to focus towards the given direction, but applications might want to change that.
 ```
 
 KeyboardFocusManager makes the best guess for which actor to focus towards the given direction, but applications might want to change that.
@@ -58,7 +58,7 @@ myCallback( originalFocusedActor, currentFocusedActor)
 {
 }
   
 {
 }
   
-dali.keyboardFocusManager.connect("keyboard-focus-change", myCallback)
+dali.keyboardFocusManager.on("keyboardFocusChange", myCallback)
 ```
 
 @class KeyboardFocusManager
 ```
 
 @class KeyboardFocusManager