X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-script-v8%2Fdocs%2Fcontent%2Fstage.js;h=f11a83d2e92235eea8e455362080c8d5f52590da;hp=dcacca6ccafd3b5d41d8482536cf04a4194291d2;hb=a073ebfd862b49692c8e6d7dff2b128e62a4f6df;hpb=5d49d819924da76f96f22845210abe89a7ade187 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 +*/