Skip to content Skip to sidebar Skip to footer

Nativescript Add Scrollview Through Code (javascript)

Using Javascript with Nativescript and I am loading a page through code rather than XML. I have it all working, however I want to add a ScrollView and then place a layout with in t

Solution 1:

ScrollView is not a layout but inherited from ContentView, therefore you can't add more than one child.

Try

scroll.content = stackLay;

Post a Comment for "Nativescript Add Scrollview Through Code (javascript)"