ItemContainer.tapBehavior property

Applies to Windows and Windows Phone

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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

ItemContainer

 

 

Show:
© 2014 Microsoft