Closed UD-UD closed 6 years ago
you can add cards as child to the layout.
In your case it would be something like stacklayout.addChild(card);
A whole example could be :
var stk = page.getViewById('stackLayoutID'); var card = new CardView(); card.margin = 10; card.radius = 5; card.elevation = 40; card.height = 40; stk.addChild(card);
Is there a way to create the cards dynamically and append them to a layout. I want something like