projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added missing newline chars to logging commands
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-script-v8
/
docs
/
content
/
keyboard-focus-manager.js
diff --git
a/plugins/dali-script-v8/docs/content/keyboard-focus-manager.js
b/plugins/dali-script-v8/docs/content/keyboard-focus-manager.js
index
821b5dd
..
fbdf726
100644
(file)
--- a/
plugins/dali-script-v8/docs/content/keyboard-focus-manager.js
+++ b/
plugins/dali-script-v8/docs/content/keyboard-focus-manager.js
@@
-18,7
+18,7
@@
The application is required to help the manager when moving focus.
Connect to the pre-focus-change call back as follows:
```
// listen for pre-focus change events
Connect to the pre-focus-change call back as follows:
```
// listen for pre-focus change events
-dali.keyboardFocusManager.
connect
("keyboardPreFocusChange", 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
("keyboardPreFocusChange", 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
("keyboardFocusChange", myCallback)
+dali.keyboardFocusManager.
on
("keyboardFocusChange", myCallback)
```
@class KeyboardFocusManager
```
@class KeyboardFocusManager