X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fdali-script-v8%2Fdocs%2Fcontent%2Fstage.js;h=f11a83d2e92235eea8e455362080c8d5f52590da;hb=a073ebfd862b49692c8e6d7dff2b128e62a4f6df;hp=dcacca6ccafd3b5d41d8482536cf04a4194291d2;hpb=4c85a797e24c20bfb1670c079e5f66a9a5d6fa0e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-script-v8/docs/content/stage.js b/plugins/dali-script-v8/docs/content/stage.js index dcacca6..f11a83d 100644 --- a/plugins/dali-script-v8/docs/content/stage.js +++ b/plugins/dali-script-v8/docs/content/stage.js @@ -22,11 +22,12 @@ dali.stage.add( imageActor ); dali.stage.remove( imageActor ); ``` - +![ ](../assets/img/stage.png) + ### Key Events -Key events are received through the key-event callback. +Key events are received through the keyEvent callback. ``` daliApp.myCallback = function (keyEvent) @@ -47,7 +48,7 @@ daliApp.myCallback = function (keyEvent) } } -dali.stage.connect("key-event", daliApp.myCallback); +dali.stage.connect("keyEvent", daliApp.myCallback); ``` The key event object has the following properties @@ -64,4 +65,4 @@ The key event object has the following properties } ``` @class Stage -*/ \ No newline at end of file +*/