(Control Renderers) Change renderer type values to uppercase
[platform/core/uifw/dali-toolkit.git] / plugins / dali-script-v8 / docs / content / image-view.js
index 282f684..e0b0f48 100644 (file)
@@ -45,10 +45,10 @@ imageView.size = imageViewSize; // If not set, it will use either the natural im
 dali.stage.add( imageView );
   
 var image = {
-    "rendererType" : "imageRenderer",
-    "imageUrl" : "myImage.jpg",
-    "width" : desiredWidth,   // The desired image width while loading (optional but preferable to set for efficiency)
-    "height" : desiredHeight,   // The desired image height while loading (optional but preferable to set for efficiency)
+    "rendererType" : "IMAGE",
+    "url" : "myImage.jpg",
+    "desiredWidth" : desiredWidth,   // The desired image width while loading (optional but preferable to set for efficiency)
+    "desiredHeight" : desiredHeight,   // The desired image height while loading (optional but preferable to set for efficiency)
     "shader" : shader  // Optional
 };