var stageSize = dali.stage.getSize();
-var imageActor = new dali.ImageActor( );
+var actor = new dali.Actor( );
-dali.stage.add( imageActor );
+dali.stage.add( actor );
// when the actor is no longer required
-dali.stage.remove( imageActor );
+dali.stage.remove( actor );
```
-<img src="../assets/img/stage.png"/>
+![ ](../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)
}
}
-dali.stage.connect("key-event", daliApp.myCallback);
+dali.stage.on("keyEvent", daliApp.myCallback);
```
The key event object has the following properties
}
```
@class Stage
-*/
\ No newline at end of file
+*/