Wijmo UI for the Web
Markup
Wijmo User Guide > Mobile Widgets > ListView > Markup

A wijlistview is marked up like a regular HTML ordered or unordered list, but with data-role and other attributes that configure it to work in mobile applications, like this:

Sample Markup
Copy Code
<ul data-role="wijlistview" data-inset="true" data-theme="c">
    <li><a href="http://wijmo.com/downloads/">Wijmo Downloads</a></li>
    <li><a href="http://wijmo.com/demos/">Wijmo Theming</a></li>
    <li><a href="http://wijmo.com/widgets/">Widgets>
    <li><a href="http://wijmo.com/demos/">Wijmo Demos</a></li>
</ul>
Note: Unlike widgets in non-mobile applications, ListView uses the data-role attribute. Adaptive widgets also use this attribute when used in mobile applications.

Another difference when using widgets in mobile applications is that there is no need to initialize the widget with script.

See Also

Concepts

Reference