Apologies if this is a stupid question, but I searched and couldn’t find an answer.
<ons-list> <ons-list-header>Header Text</ons-list-header> <ons-list-item>Item</ons-list-item> <ons-list-item>Item</ons-list-item> </ons-list>
Whereas in the CSS Reference and Theme Roller, the examples don’t use ons-* tags, e.g.:
<ul class="list"> <li class="list__item"> <div class="list__item__center">Item</div> </li> <li class="list__item"> <div class="list__item__center">Item</div> </li> </ul>
Or am I missing something?
Thanks in advance.
@theprotocol Just as you said, we provide two versions for the UI: one in pure CSS and another one including CSS+JS. Normally people would go for the JS one using the components, but perhaps in your app you only need CSS because you want to manage everything else.
The JS version is of course more complete because it does things that pure CSS cannot. For example, draggable switchs or autostyling your app.
We will probably change the webpage for 2.0 release to make it clear
Brilliant, thanks for the clarification.