Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the div equivalent element in Nativescript

Tags:

nativescript

I am trying to wrap some elements to provide styling and i do not see any element that can be used as a container.

What is supposed to be used in such a case?

Also kindly link to the available css properties in Nativescript as i was unable to find a list of available css properties.

like image 640
krv Avatar asked Dec 23 '15 16:12

krv


1 Answers

While styling elements is useful, I think the answer to your question would be to use StackLayout or GridLayout depending on what you want to do.

like image 62
Brad Martin Avatar answered Oct 13 '22 02:10

Brad Martin