X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=docs%2Fcontent%2Fprogramming-guide%2Fproperties.h;h=7f5f32727d52c88dafc39e3937d85bacaf86d1cf;hb=9110280c0e5a01128f3eb1e35f1587b9f596d95d;hp=a1a95e970cc5e961d88d6a5cec87b43e4681ae90;hpb=caf7677175a0e8b9c690d4f2ab73adc295f22c0e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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.