new SmartListLayout(element, options)
Control to set ListView layout based on media queries
Parameters:
Name | Type | Description |
---|---|---|
element |
HTMLElement | DOM element containing the control |
options |
Object |
Example
{@lang xml}
Members
-
<static> listView :WinJS.UI.ListView
-
listview target by smart layout
Type:
- WinJS.UI.ListView
Methods
-
<static> add(layout)
-
add a layout declaration
Parameters:
Name Type Description layout
Object layout declaration