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
Merge "Text - Add the color to the vertex info." into devel/master
[platform/core/uifw/dali-toolkit.git]
/
plugins
/
dali-script-v8
/
docs
/
content
/
actor.js
diff --git
a/plugins/dali-script-v8/docs/content/actor.js
b/plugins/dali-script-v8/docs/content/actor.js
index
9f051fb
..
98b35a4
100644
(file)
--- a/
plugins/dali-script-v8/docs/content/actor.js
+++ b/
plugins/dali-script-v8/docs/content/actor.js
@@
-124,7
+124,7
@@
function OnPressed( actor, touchEvent )
}
// connect to touch events
}
// connect to touch events
-myActor.
connect
( "touched", onPressed );
+myActor.
on
( "touched", onPressed );
```
```
@@
-143,7
+143,7
@@
hoverEvent = {
}
```
// connect to touch events
}
```
// connect to touch events
- myActor.
connect
( "hovered", onHover);
+ myActor.
on
( "hovered", onHover);
#### Mouse wheel event
#### Mouse wheel event
@@
-161,7
+161,7
@@
mouseWheelEvent = {
}
// connect to touch events
}
// connect to touch events
-myActor.
connect
( "mouseWheelEvent", onMouseWheel );
+myActor.
on
( "mouseWheelEvent", onMouseWheel );
```
#### Key events
```
#### Key events