Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

When to use properties, when to use aggregation?

$
0
0

Hi guys,

 

I'm learning to extend sap.ui.core.Control.

 

I'm a bit confused by properties and aggregation, assume that my custom control will receive some array data from outside.

then for this data, should I declare it a property or an aggregation?

 

Regards,

Aaron.


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>