X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fproperties.h;h=7f5f32727d52c88dafc39e3937d85bacaf86d1cf;hp=a1a95e970cc5e961d88d6a5cec87b43e4681ae90;hb=63a4af2b863121be7ed57daee038d169d9ebe768;hpb=02a86c5687ddabb8ff0d5e423f5adf5d53228f73 diff --git a/docs/content/programming-guide/properties.h b/docs/content/programming-guide/properties.h index a1a95e9..7f5f327 100644 --- a/docs/content/programming-guide/properties.h +++ b/docs/content/programming-guide/properties.h @@ -217,31 +217,6 @@ Property lookup via index should always be used unless the indicies cannot be kn

-@section property-use-example-js Property use in JavaScript - -Note that constraints cannot be used within JavaScript, so below is a simple example that sets one of the default properties; scale: - -@code -var imageView = new dali.Control( "ImageView" ); - -// by default an actor is anchored to the top-left of it's parent actor -// change it to the middle -imageView.parentOrigin = dali.CENTER; - -// Set an image view property -imageView.image = { - "visualType" : "IMAGE", - "url": "images/icon-0.png", - "desiredWidth" : 100, - "desiredHeight" : 100 -}; - -// add to the stage -dali.stage.add( imageView ); -@endcode - -
-
@section property-use-example-json Property use in JSON This is a basic example of a button defined in JSON by setting the default properties.