WinJS.UI.ItemContainer constructor
Creates a new ItemContainer.
Syntax
var itemContainer = new WinJS.UI.ItemContainer(element, options);
Parameters
element
Type: ObjectThe DOM element hosts the new ItemContainer. For the ItemContainer to be accessible, this element must have its role attribute set to "list" or "listbox". If tapBehavior is set to none and selectionDisabled is true, then use the "list" role; otherwise, use the "listbox" role.
options
Type: ObjectAn object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds to one of the control's properties or events.
Requirements
Minimum WinJS version |
WinJS 3.0 |
Namespace |
WinJS.UI |