Partager via


ItemContainer.tapBehavior property

Gets or sets how the ItemContainer reacts when the user taps or clicks an item.

Syntax

<div data-win-control="WinJS.UI.ItemContainer" data-win-options="{ tapBehavior : value}" >
</div>
var tapBehavior = itemContainer.tapBehavior;
itemContainer.tapBehavior = tapBehavior;

Property value

Type: ****

One of the values defined by the TapBehavior enumeration. The default value is invokeOnly.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ItemContainer